diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-30 02:16:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-30 02:16:07 +0000 |
commit | 71e98b4c4a1a2e29f57a70d5507e412f58f46b64 (patch) | |
tree | 3db04e86d547a846b64322fda130dabb42434aea /media-libs/jbigkit/jbigkit-1.6-r1.ebuild | |
parent | make sure python was built with USE=gdbm #107657 (diff) | |
download | gentoo-2-71e98b4c4a1a2e29f57a70d5507e412f58f46b64.tar.gz gentoo-2-71e98b4c4a1a2e29f57a70d5507e412f58f46b64.tar.bz2 gentoo-2-71e98b4c4a1a2e29f57a70d5507e412f58f46b64.zip |
Build a shared library since imagemagick tries to link against libjbig #107542.
(Portage version: 2.0.52-r1 http://www.bash.org/?136501 )
Diffstat (limited to 'media-libs/jbigkit/jbigkit-1.6-r1.ebuild')
-rw-r--r-- | media-libs/jbigkit/jbigkit-1.6-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/jbigkit/jbigkit-1.6-r1.ebuild b/media-libs/jbigkit/jbigkit-1.6-r1.ebuild new file mode 100644 index 000000000000..1caa36b0e0d2 --- /dev/null +++ b/media-libs/jbigkit/jbigkit-1.6-r1.ebuild @@ -0,0 +1,37 @@ +# 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 $ + +inherit eutils + +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/" +SRC_URI="http://www.cl.cam.ac.uk/~mgk25/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND=">=sys-apps/sed-4" +RDEPEND="" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-shared-lib.patch +} + +src_install() { + dobin pbmtools/jbgtopbm pbmtools/pbmtojbg || die "dobin" + doman pbmtools/jbgtopbm.1 pbmtools/pbmtojbg.1 + + insinto /usr/include + newins libjbig/jbig.h jbig.h || die "doins include" + dolib libjbig/libjbig.{a,so} || die "dolib" + + dodoc ANNOUNCE CHANGES INSTALL TODO +} |