diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-11-25 18:24:23 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-11-25 18:24:23 +0000 |
commit | 21523e7fe73fc12e929774cb23f8817300cd8ea3 (patch) | |
tree | d5a24c1476f24286207c53cb3fa6241585f54666 /media-libs/loadpng/loadpng-1.4.ebuild | |
parent | Remove old ebuild (diff) | |
download | gentoo-2-21523e7fe73fc12e929774cb23f8817300cd8ea3.tar.gz gentoo-2-21523e7fe73fc12e929774cb23f8817300cd8ea3.tar.bz2 gentoo-2-21523e7fe73fc12e929774cb23f8817300cd8ea3.zip |
1.4 version bump for bug 112778
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-libs/loadpng/loadpng-1.4.ebuild')
-rw-r--r-- | media-libs/loadpng/loadpng-1.4.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-libs/loadpng/loadpng-1.4.ebuild b/media-libs/loadpng/loadpng-1.4.ebuild new file mode 100644 index 000000000000..83fb6ec7a601 --- /dev/null +++ b/media-libs/loadpng/loadpng-1.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/loadpng/loadpng-1.4.ebuild,v 1.1 2005/11/25 18:24:23 vanquirius Exp $ + +inherit toolchain-funcs + +DESCRIPTION="load and save PNG files in Allegro programs" +HOMEPAGE="http://tjaden.strangesoft.net/loadpng/" +SRC_URI="http://tjaden.strangesoft.net/loadpng/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=media-libs/allegro-4.0.0 + >=media-libs/libpng-1.2.4 + >=sys-libs/zlib-1.1.4" + +src_unpack() { + unpack ${A} + # avoid hardcoded CC/CFLAGS + sed -i -e "s:gcc:$(tc-getCC):g" "${S}"/Makefile + sed -i -e "s:-W -Wall -O3:${CFLAGS}:g" "${S}"/Makefile +} + +src_install() { + dodir /usr/lib + dodir /usr/include + make prefix="${D}"/usr install || die +} |