summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-05 00:53:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-05 00:53:40 +0000
commit7192e6b91e860685612f77baf38f7e95d926fc43 (patch)
tree43a5cc55b6d7c6baa03fb5c9aa31d4cbbb195687 /media-libs/jbigkit
parentarm lovin (diff)
downloadgentoo-2-7192e6b91e860685612f77baf38f7e95d926fc43.tar.gz
gentoo-2-7192e6b91e860685612f77baf38f7e95d926fc43.tar.bz2
gentoo-2-7192e6b91e860685612f77baf38f7e95d926fc43.zip
clean up and arm love
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/jbigkit')
-rw-r--r--media-libs/jbigkit/jbigkit-1.4.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/media-libs/jbigkit/jbigkit-1.4.ebuild b/media-libs/jbigkit/jbigkit-1.4.ebuild
index ea4fcb3adc67..b005cf156ee3 100644
--- a/media-libs/jbigkit/jbigkit-1.4.ebuild
+++ b/media-libs/jbigkit/jbigkit-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/jbigkit-1.4.ebuild,v 1.24 2005/02/21 14:15:48 gongloo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/jbigkit-1.4.ebuild,v 1.25 2005/08/05 00:53:40 vapier Exp $
inherit flag-o-matic
@@ -10,20 +10,20 @@ SRC_URI="http://www.cl.cam.ac.uk/~mgk25/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64 ppc64 ppc-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos ppc64 sparc x86"
IUSE=""
-DEPEND="virtual/libc
- >=sys-apps/sed-4"
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=""
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
- [ "${ARCH}" = "hppa" ] && append-flags -fPIC
- [ "${ARCH}" = "amd64" ] && append-flags -fPIC
+ [[ ${ARCH} == "hppa" ]] && append-flags -fPIC
+ [[ ${ARCH} == "amd64" ]] && append-flags -fPIC
sed -i \
-e "s:-O2 -W:${CFLAGS}:" Makefile \
|| die "sed Makefile failed"
@@ -31,15 +31,13 @@ src_unpack() {
src_compile() {
make || die "make failed"
- make test || die "tests failed"
}
src_install() {
- dolib libjbig/libjbig.a || die
+ dolib libjbig/libjbig.a || die "dolib"
insinto /usr/include
- newins libjbig/jbig.h jbig.h
+ newins libjbig/jbig.h jbig.h || die "doins include"
- # Install documentation.
dodoc ANNOUNCE CHANGES INSTALL TODO
}