summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-16 03:49:57 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-16 03:49:57 +0000
commit540a2e563046c0785c7f550ea870df6dbfed4be7 (patch)
treef40bbfa9b67ce7710317ef2c870f3b34f63b3655 /dev-libs/DirectFB
parentlibmpeg3 support workaround (diff)
downloadhistorical-540a2e563046c0785c7f550ea870df6dbfed4be7.tar.gz
historical-540a2e563046c0785c7f550ea870df6dbfed4be7.tar.bz2
historical-540a2e563046c0785c7f550ea870df6dbfed4be7.zip
cleaned up ebuild
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild27
1 files changed, 9 insertions, 18 deletions
diff --git a/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild b/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
index 928227a6f881..d7fa9afef7ad 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: system@gentoo.org
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild,v 1.2 2002/04/16 03:26:37 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild,v 1.3 2002/04/16 03:49:57 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="DirectFB is a thin library on top of the Linux framebuffer devices"
@@ -20,19 +20,15 @@ DEPEND="sys-devel/perl
RDEPEND="${DEPEND}"
-#extralibinfo=""
-#use mpeg && extralibinfo="LIBMPEG3_DIR=/usr/lib LIBMPEG3_LIBS=-lmpeg3"
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${WORKDIR}/libmpeg3
- make
-}
-
src_compile() {
+ # If user wants libmpeg3 support, then compile that first
+ use mpeg && ( \
+ cd ${WORKDIR}/libmpeg3
+ make
+ cd ${S}
+ )
+
local myconf
use mmx \
@@ -78,12 +74,7 @@ src_compile() {
--prefix=/usr \
${myconf} || die
- use mpeg && ( \
- make "${extralibinfo}" || die "libmpeg3 sucks"
- ) || ( \
- make || die "why did I die?"
- )
-
+ make || die
}