summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-23 21:02:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-23 21:02:22 +0000
commit927a88902fbf0b46a783fc51a80e45d66b357796 (patch)
treeb9083fd37b21f1893db14c1ed293e1e29ea59cb8 /media-libs/libmng
parentUse virtual/jpeg. (diff)
downloadhistorical-927a88902fbf0b46a783fc51a80e45d66b357796.tar.gz
historical-927a88902fbf0b46a783fc51a80e45d66b357796.tar.bz2
historical-927a88902fbf0b46a783fc51a80e45d66b357796.zip
Convert to EAPI2
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/Manifest2
-rw-r--r--media-libs/libmng/libmng-1.0.10.ebuild18
2 files changed, 9 insertions, 11 deletions
diff --git a/media-libs/libmng/Manifest b/media-libs/libmng/Manifest
index 4732b17f852e..3a7b70eb73c1 100644
--- a/media-libs/libmng/Manifest
+++ b/media-libs/libmng/Manifest
@@ -1,4 +1,4 @@
DIST libmng-1.0.10.tar.gz 1093337 RMD160 ed09e537ebb129f5e13cba56d9d2c2a106955393 SHA1 78ad516a1de79d00de720bf2a7c9afea2c896b09 SHA256 03a79dac9b9316d37227057614a248a946f997c4d1a3437fb569e9a63897f911
-EBUILD libmng-1.0.10.ebuild 1121 RMD160 aa8b3788c9c1666c659e2a9d64764eec01dc8816 SHA1 976d0f4f9142327fe30d54e23b38dfcc6c35cfc7 SHA256 71c0568cc3ca5b419ee5a31a069bc2711c1bcdc69e3008422e613db88fe03114
+EBUILD libmng-1.0.10.ebuild 1035 RMD160 382585c36ad32168148ec57ebd83143f21116494 SHA1 2bc4a330eb63b7d36a5a49ac3be5c0bc95897cb4 SHA256 336dee226e309a7b1f24023dc61b3420a1998660f9adfe6e7e16e14c9a2cd8be
MISC ChangeLog 9287 RMD160 7664e8e6a42cdf4fedf7aea052417a3b15df06bf SHA1 f7a2d8a17ba348529e524077aaa1c7b2cf210064 SHA256 a1eea2441da3fdf30bfebfaf13313f6ef198b57499d97dafa42874797d2d97e7
MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
diff --git a/media-libs/libmng/libmng-1.0.10.ebuild b/media-libs/libmng/libmng-1.0.10.ebuild
index e453edf56d07..2350c19efd13 100644
--- a/media-libs/libmng/libmng-1.0.10.ebuild
+++ b/media-libs/libmng/libmng-1.0.10.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/libmng-1.0.10.ebuild,v 1.12 2010/07/23 20:59:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/libmng-1.0.10.ebuild,v 1.13 2010/07/23 21:02:22 ssuominen Exp $
-EAPI=1
+EAPI=2
WANT_AUTOCONF=2.5
WANT_AUTOMAKE=1.9
@@ -21,23 +21,21 @@ DEPEND="virtual/jpeg
>=sys-libs/zlib-1.1.4
lcms? ( =media-libs/lcms-1* )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
ln -s makefiles/configure.in .
ln -s makefiles/Makefile.am .
eautoreconf
}
-src_compile() {
- econf --with-jpeg $(use_with lcms) || die "econf failed"
- emake || die "emake failed"
+src_configure() {
+ econf \
+ --with-jpeg \
+ $(use_with lcms)
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
dodoc CHANGES README*
dodoc doc/doc.readme doc/libmng.txt