summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-14 16:48:29 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-14 16:48:29 +0000
commit47068f3bcb76cc5ca13b4b47f273359e7badff96 (patch)
treeba5e318cc4ceb3febff49a53653d352f0223749b /media-libs/libungif
parentoops'd on SRC_URI (diff)
downloadgentoo-2-47068f3bcb76cc5ca13b4b47f273359e7badff96.tar.gz
gentoo-2-47068f3bcb76cc5ca13b4b47f273359e7badff96.tar.bz2
gentoo-2-47068f3bcb76cc5ca13b4b47f273359e7badff96.zip
Cleaned up ebuild a little
Diffstat (limited to 'media-libs/libungif')
-rw-r--r--media-libs/libungif/libungif-4.1.0-r1.ebuild36
1 files changed, 21 insertions, 15 deletions
diff --git a/media-libs/libungif/libungif-4.1.0-r1.ebuild b/media-libs/libungif/libungif-4.1.0-r1.ebuild
index ce1c99c8824f..ffc73daa5612 100644
--- a/media-libs/libungif/libungif-4.1.0-r1.ebuild
+++ b/media-libs/libungif/libungif-4.1.0-r1.ebuild
@@ -1,34 +1,40 @@
# 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>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0-r1.ebuild,v 1.1 2002/03/21 09:20:39 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0-r1.ebuild,v 1.2 2002/04/14 16:48:29 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A library for reading and writing gif images without LZW compression"
SRC_URI="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
- use X && myconf="--with-x" || myconf="--without-x"
+ local myconf
+ use X \
+ && myconf="--with-x" \
+ || myconf="--without-x"
- ./configure --host=${CHOST} --prefix=/usr ${myconf} || die
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ ${myconf} || die
- emake || die
+ emake || die
}
src_install() {
- make prefix=${D}/usr install
- use gif && rm -rf ${D}/usr/bin
+ make \
+ prefix=${D}/usr \
+ install || die
- dodoc AUTHORS BUGS COPYING ChangeLog NEWS ONEWS
- dodoc UNCOMPRESSED_GIF README TODO
- dodoc doc/*.txt
- dohtml doc/*.html doc/*.png
-}
+ use gif && rm -rf ${D}/usr/bin
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS ONEWS
+ dodoc UNCOMPRESSED_GIF README TODO
+ dodoc doc/*.txt
+ dohtml -r doc
+}