summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/iulib/iulib-0.3.ebuild')
-rw-r--r--media-libs/iulib/iulib-0.3.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/iulib/iulib-0.3.ebuild b/media-libs/iulib/iulib-0.3.ebuild
new file mode 100644
index 000000000000..79abc3a69b5a
--- /dev/null
+++ b/media-libs/iulib/iulib-0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.3.ebuild,v 1.1 2008/11/02 06:58:28 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="easy-to-use image and video I/O functions"
+HOMEPAGE="http://code.google.com/p/iulib/"
+SRC_URI="http://iulib.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdl"
+
+DEPEND="sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/tiff
+ sdl? ( media-libs/libsdl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-install.patch
+}
+
+src_compile() {
+ econf $(use_with sdl SDL) || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc CHANGES README TODO
+}