summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-14 04:24:43 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-14 04:24:43 +0000
commit8c6bfe74658885bc2b10e63966253a2960cd353f (patch)
tree119befa0a6a6488199070d8ee1c64a44517052ca /media-libs/netpbm/netpbm-10.11.5-r3.ebuild
parentFixed Dependency cause it has a collision between dev-java/ant and app-vim/ant. (diff)
downloadhistorical-8c6bfe74658885bc2b10e63966253a2960cd353f.tar.gz
historical-8c6bfe74658885bc2b10e63966253a2960cd353f.tar.bz2
historical-8c6bfe74658885bc2b10e63966253a2960cd353f.zip
remove x86? ( svga? () ) crap
Diffstat (limited to 'media-libs/netpbm/netpbm-10.11.5-r3.ebuild')
-rw-r--r--media-libs/netpbm/netpbm-10.11.5-r3.ebuild28
1 files changed, 11 insertions, 17 deletions
diff --git a/media-libs/netpbm/netpbm-10.11.5-r3.ebuild b/media-libs/netpbm/netpbm-10.11.5-r3.ebuild
index d789e933df82..b658e24fc950 100644
--- a/media-libs/netpbm/netpbm-10.11.5-r3.ebuild
+++ b/media-libs/netpbm/netpbm-10.11.5-r3.ebuild
@@ -1,38 +1,32 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.5-r3.ebuild,v 1.2 2003/11/02 18:50:14 mholzer Exp $
-
-IUSE="svga"
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.5-r3.ebuild,v 1.3 2004/01/14 04:24:43 vapier Exp $
inherit flag-o-matic
DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats"
+HOMEPAGE="http://netpbm.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~arm ~amd64"
+IUSE="svga"
RESTRICT="nomirror"
-HOMEPAGE="http://netpbm.sourceforge.net/"
DEPEND=">=media-libs/jpeg-6b
>=media-libs/tiff-3.5.5
>=media-libs/libpng-1.2.1
svga? ( media-libs/svgalib )"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~arm ~amd64"
-
src_unpack() {
unpack ${A}
cd ${S}
- if [ "${ARCH}" != "x86" ] ; then
- cfg="config"
+ if [ `use svga` ] ; then
+ cfg="svga"
else
- if [ -n "`use svga`" ]
- then
- cfg="svga"
- else
- cfg="config"
- fi
+ cfg="config"
fi
# Sparc support ...
@@ -48,7 +42,7 @@ src_compile() {
emake CC="${CC}" CXX="${CXX}"|| die "emake failed"
}
-src_install () {
+src_install() {
make package pkgdir=${D}/usr/ || die "make package failed"
# Fix symlink not being created.