# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/loadpng/loadpng-0.11.ebuild,v 1.3 2003/02/28 10:35:08 vapier Exp $ DESCRIPTION="load and save PNG files in Allegro programs" HOMEPAGE="http://www.alphalink.com.au/~tjaden/loadpng/" SRC_URI="http://www.alphalink.com.au/~tjaden/loadpng/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" DEPEND=">=media-libs/allegro-4.0.0 >=media-libs/libpng-1.2.4 >=sys-libs/zlib-1.1.4" src_compile() { emake || die } src_install() { dodir /usr/lib dodir /usr/include make prefix=${D}/usr install || die }