diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-14 16:51:11 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-14 16:51:11 +0000 |
commit | 13c960c645e0abb0c874e3d946620f17f51a9da9 (patch) | |
tree | d167ced9749bcd2376035e687704c7946b8e47ba /media-libs/giflib | |
parent | Cleaned up ebuild a little (diff) | |
download | gentoo-2-13c960c645e0abb0c874e3d946620f17f51a9da9.tar.gz gentoo-2-13c960c645e0abb0c874e3d946620f17f51a9da9.tar.bz2 gentoo-2-13c960c645e0abb0c874e3d946620f17f51a9da9.zip |
Removed the ungif flag
Diffstat (limited to 'media-libs/giflib')
-rw-r--r-- | media-libs/giflib/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/giflib/giflib-4.1.0-r3.ebuild | 57 |
2 files changed, 35 insertions, 31 deletions
diff --git a/media-libs/giflib/ChangeLog b/media-libs/giflib/ChangeLog index f0aa236d6a37..18664a3f79ce 100644 --- a/media-libs/giflib/ChangeLog +++ b/media-libs/giflib/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/giflib # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.1 2002/02/01 21:53:30 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.2 2002/04/14 16:51:11 seemant Exp $ + +*giflib-4.1.0-r3 (14 Apr 2002) + + 14 Apr 2002; Seemant Kulleen <seemant@gentoo.org> giflib-4.1.0-r3.ebuild + + Removed the ungif USE flag from here. Basically, if gif is in USE, then + the user wants this library, otherwise the binary from libungif is used. *giflib-4.1.0-r3 (1 Feb 2002) diff --git a/media-libs/giflib/giflib-4.1.0-r3.ebuild b/media-libs/giflib/giflib-4.1.0-r3.ebuild index e8b61af262a2..3a5a3f24c905 100644 --- a/media-libs/giflib/giflib-4.1.0-r3.ebuild +++ b/media-libs/giflib/giflib-4.1.0-r3.ebuild @@ -1,52 +1,49 @@ -## Copyright 1999-2000 Gentoo Technologies, Inc. +## Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> # Updated by AJ Lewis <aj@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.0-r3.ebuild,v 1.1 2001/05/07 20:08:03 aj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.0-r3.ebuild,v 1.2 2002/04/14 16:51:11 seemant Exp $ -P=giflib-4.1.0 -A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="giflib" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/libs/giflib/${A} - ftp://prtr-13.ucsc.edu/pub/libungif/${A}" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/libs/giflib/${P}.tar.gz + ftp://prtr-13.ucsc.edu/pub/libungif/${P}.tar.gz" HOMEPAGE="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml" -DEPEND="virtual/glibc - X? ( virtual/x11 )" +DEPEND="X? ( virtual/x11 )" src_compile() { - local myconf - if [ "`use X`" ] - then - myconf="--with-x" - else - myconf="--without-x" - fi + local myconf - try ./configure --host=${CHOST} --prefix=/usr ${myconf} + use X \ + && myconf="--with-x" \ + || myconf="--without-x" - try make + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + ${myconf} || die + + emake || die } src_install() { - try make prefix=${D}/usr install - if [ "`use ungif`" ] - then - rm -rf ${D}/usr/bin - fi + make \ + prefix=${D}/usr \ + install || die + + # if gif is not in USE, then ungif is preferred + use gif || ( \ + rm -rf ${D}/usr/bin + ) - dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS ONEWS - dodoc PATENT_PROBLEMS README TODO - dodoc doc/*.txt - docinto html - dodoc doc/*.html doc/*.png + dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS ONEWS + dodoc PATENT_PROBLEMS README TODO + dodoc doc/*.txt + dohtml -r doc } - - - |