summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-10-01 14:48:07 +0000
committerFabian Groffen <grobian@gentoo.org>2005-10-01 14:48:07 +0000
commitf04e134386cfcffe0ce03f2caa00e1f54de7df90 (patch)
tree5141a6264b7ad8fcc7c12df44b6ed8a7d470608e /media-libs/jbigkit/jbigkit-1.6-r1.ebuild
parentpackage.masked the latest linux-wlan-ng ebuild to ensure a smooth upgrade (diff)
downloadgentoo-2-f04e134386cfcffe0ce03f2caa00e1f54de7df90.tar.gz
gentoo-2-f04e134386cfcffe0ce03f2caa00e1f54de7df90.tar.bz2
gentoo-2-f04e134386cfcffe0ce03f2caa00e1f54de7df90.zip
Enhancing spanky's shared lib patch to get it compiling again on OSX using dylibs.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/jbigkit/jbigkit-1.6-r1.ebuild')
-rw-r--r--media-libs/jbigkit/jbigkit-1.6-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-libs/jbigkit/jbigkit-1.6-r1.ebuild b/media-libs/jbigkit/jbigkit-1.6-r1.ebuild
index 1caa36b0e0d2..914b7a186d8f 100644
--- a/media-libs/jbigkit/jbigkit-1.6-r1.ebuild
+++ b/media-libs/jbigkit/jbigkit-1.6-r1.ebuild
@@ -1,8 +1,8 @@
# 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.6-r1.ebuild,v 1.1 2005/09/30 02:16:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/jbigkit-1.6-r1.ebuild,v 1.2 2005/10/01 14:48:07 grobian Exp $
-inherit eutils
+inherit eutils multilib
DESCRIPTION="highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents"
HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
@@ -23,6 +23,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-shared-lib.patch
+ echo "UNAME = `uname -s`" > uname.mk
}
src_install() {
@@ -31,7 +32,7 @@ src_install() {
insinto /usr/include
newins libjbig/jbig.h jbig.h || die "doins include"
- dolib libjbig/libjbig.{a,so} || die "dolib"
+ dolib libjbig/libjbig{.a,$(get_libname)} || die "dolib"
dodoc ANNOUNCE CHANGES INSTALL TODO
}