summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/jpgalleg/jpgalleg-1.1.ebuild')
-rw-r--r--media-libs/jpgalleg/jpgalleg-1.1.ebuild38
1 files changed, 19 insertions, 19 deletions
diff --git a/media-libs/jpgalleg/jpgalleg-1.1.ebuild b/media-libs/jpgalleg/jpgalleg-1.1.ebuild
index 6209ff2b68e1..f920ff5df344 100644
--- a/media-libs/jpgalleg/jpgalleg-1.1.ebuild
+++ b/media-libs/jpgalleg/jpgalleg-1.1.ebuild
@@ -1,43 +1,43 @@
# Copyright 1999-2003 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.3 2003/09/06 23:59:48 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-1.1.ebuild,v 1.4 2003/09/11 01:17:47 msterret 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"
+ 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"
+ >=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
+ 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
+ cd ${S}/
+ dodir /usr/include
+ dodir /usr/lib
- insinto /usr/include
- doins jpgalleg.h
+ insinto /usr/include
+ doins jpgalleg.h
- insinto /usr/lib
- doins libjpgal.a
+ insinto /usr/lib
+ doins libjpgal.a
- dodoc README
+ dodoc README
- insinto /usr/share/doc/${P}/examples
- doins * # maybe not a good idea but it's not really a 'package'
+ insinto /usr/share/doc/${P}/examples
+ doins * # maybe not a good idea but it's not really a 'package'
}