summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-09-29 23:23:22 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-09-29 23:23:22 +0000
commita9a08bfbb183db13e7a9bfd01514491bdabacfe7 (patch)
treeb24cfc68e4e5fea46c08ee7a48f2530103238e79 /media-libs/libmng
parentFix for my last commit. Needs to be chmod 4xxx, not chmod 1xxx. (diff)
downloadgentoo-2-a9a08bfbb183db13e7a9bfd01514491bdabacfe7.tar.gz
gentoo-2-a9a08bfbb183db13e7a9bfd01514491bdabacfe7.tar.bz2
gentoo-2-a9a08bfbb183db13e7a9bfd01514491bdabacfe7.zip
various fixes
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/libmng-1.0.1.ebuild30
1 files changed, 8 insertions, 22 deletions
diff --git a/media-libs/libmng/libmng-1.0.1.ebuild b/media-libs/libmng/libmng-1.0.1.ebuild
index f319755d2c8e..b8c7792ce598 100644
--- a/media-libs/libmng/libmng-1.0.1.ebuild
+++ b/media-libs/libmng/libmng-1.0.1.ebuild
@@ -1,40 +1,26 @@
# Copyright 1999-2000 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/libmng/libmng-1.0.1.ebuild,v 1.1 2001/05/06 15:57:06 achim Exp $
+# Maintainer: Desktop Team <desktop@gentoo.org>
+# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/libmng-1.0.1.ebuild,v 1.2 2001/09/29 23:23:21 drobbins Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)"
-SRC_URI="http://download.sourceforge.net/libmng/${A}"
+SRC_URI="http://download.sourceforge.net/libmng/${P}.tar.gz"
HOMEPAGE="http://www.libmng.com/"
-DEPEND="virtual/glibc
- >=media-libs/jpeg-6b >=sys-libs/zlib-1.1.3
- lcms? ( >=media-libs/lcms-1.0.6 )"
+DEPEND="virtual/glibc >=media-libs/jpeg-6b >=sys-libs/zlib-1.1.3 >=media-libs/lcms-1.0.6"
src_compile() {
-
- local myconf
- if [ "`use lcms`" ]
- then
- myconf="--with-lcms=/usr"
- else
- myconf="--without-lcms"
- fi
- try ./configure --prefix=/usr $myconf --host=${CHOST}
- try make
-
+ ./configure --prefix=/usr --with-lcms=/usr --host=${CHOST} || die
+ make || die
}
src_install () {
-
- try make prefix=${D}/usr install
-
+ make prefix=${D}/usr install || die
dodoc Changes LICENSE README*
dodoc doc/doc.readme doc/libmng.txt doc/*.png
doman doc/man/*
-
}