summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2002-12-12 13:22:55 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2002-12-12 13:22:55 +0000
commit55010091510e9bbf296482458db093866e828f87 (patch)
treee7d76db2c918d38ccc1f7b553050f94ff0ff5e9f
parentinital ebuild + digest + ChangeLog (diff)
downloadgentoo-2-55010091510e9bbf296482458db093866e828f87.tar.gz
gentoo-2-55010091510e9bbf296482458db093866e828f87.tar.bz2
gentoo-2-55010091510e9bbf296482458db093866e828f87.zip
initial ebuild+digest+ChangeLog
-rw-r--r--media-libs/jpgalleg/ChangeLog4
-rw-r--r--media-libs/jpgalleg/files/digest-jpgalleg-1.12
-rw-r--r--media-libs/jpgalleg/jpgalleg-1.1.ebuild43
3 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/jpgalleg/ChangeLog b/media-libs/jpgalleg/ChangeLog
new file mode 100644
index 000000000000..1d529eeb1bcf
--- /dev/null
+++ b/media-libs/jpgalleg/ChangeLog
@@ -0,0 +1,4 @@
+# ChangeLog for media-libs/jpgalleg
+
+* jpgalleg-1.1 (27 Oct 2002)
+ Thomas Raschbacher<lordvan@lordvan.com>: created ebuild \ No newline at end of file
diff --git a/media-libs/jpgalleg/files/digest-jpgalleg-1.1 b/media-libs/jpgalleg/files/digest-jpgalleg-1.1
new file mode 100644
index 000000000000..4a1823fa82f7
--- /dev/null
+++ b/media-libs/jpgalleg/files/digest-jpgalleg-1.1
@@ -0,0 +1,2 @@
+MD5 68d8f8922db7cbc1715a695ac650fded jpgalleg.zip 247782
+MD5 00d0d227404f46b5def471d7a567e69b jpgal11b.zip 1378
diff --git a/media-libs/jpgalleg/jpgalleg-1.1.ebuild b/media-libs/jpgalleg/jpgalleg-1.1.ebuild
new file mode 100644
index 000000000000..8d3aad0e90d0
--- /dev/null
+++ b/media-libs/jpgalleg/jpgalleg-1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-1.1.ebuild,v 1.1 2002/12/12 13:22:55 lordvan Exp $
+
+DESCRIPTION="The jpeg loading routines are able to load almost any JPG image file with Allegro."
+HOMEPAGE="http://orbflux.com/jpgalleg/"
+SRC_URI="http://orbflux.com/jpgalleg/${PN}.zip
+ http://www.dribin.org/dave/game_launcher/jpgal11b.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+DEPEND=">=media-libs/allegro-4.0.0
+ >=app-arch/unzip-5.50"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}"
+
+src_compile() {
+ mv jpgal11b.pat jpgal11b.pat_orig
+ sed s/'jpgal11\/'/''/ jpgal11b.pat_orig > jpgal11b.pat
+ patch -p0 <jpgal11b.pat
+ mv jpeg.c jpeg.c_orig
+ sed s/'allegro\/aintern\.h'/'allegro\/internal\/aintern.h'/ jpeg.c_orig > jpeg.c
+ emake -f makefile.dj libjpgal.a || die
+
+}
+
+src_install() {
+ cd ${S}/
+ dodir /usr/include
+ dodir /usr/lib
+
+ insinto /usr/include
+ doins jpgalleg.h
+
+ insinto /usr/lib
+ doins libjpgal.a
+
+ dodoc README
+
+ insinto /usr/share/doc/${P}/examples
+ doins * # maybe not a good idea but it's not really a 'package'
+}