summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild')
-rw-r--r--media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild32
1 files changed, 16 insertions, 16 deletions
diff --git a/media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild b/media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild
index 90b2bd7ce072..7a851da18180 100644
--- a/media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild
+++ b/media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.1 2003/08/22 11:04:55 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-1.1-r1.ebuild,v 1.2 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/"
@@ -13,46 +13,46 @@ SLOT="0"
IUSE=""
DEPEND=">=media-libs/allegro-4.0.0
- >=app-arch/unzip-5.50
- >=sys-apps/sed-4"
+ >=app-arch/unzip-5.50
+ >=sys-apps/sed-4"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd ${S}
- sed -i \
+ sed -i \
-e 's:jpgal11b/::' jpgal11b.pat || \
die "sed jpgal11b.pat failed"
edos2unix jpgal11b.pat
- epatch jpgal11b.pat || die
+ epatch jpgal11b.pat || die
- sed -i \
+ sed -i \
-e 's:allegro/aintern.h:allegro/internal/aintern.h:' jpeg.c || \
die "sed jpeg.c failed"
- sed -i \
+ sed -i \
-e "s/-O3/${CFLAGS}/" makefile.dj || \
die "sed makefile.dj failed"
}
src_compile() {
- emake -f makefile.dj libjpgal.a || die "emake failed"
+ emake -f makefile.dj libjpgal.a || die "emake failed"
}
src_install() {
- cd ${S}/
+ cd ${S}/
- 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 *.jpg ex*.c jpeg{data,demo}* makefile*
+ insinto /usr/share/doc/${P}/examples
+ doins *.jpg ex*.c jpeg{data,demo}* makefile*
}