summaryrefslogtreecommitdiff
blob: ddb74bf5263ccd67c86cc9fdde8dcb3f5493deb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2004 Gentoo Foundation
# 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.6 2004/06/24 23:16:17 agriffis 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
}