diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-05-12 15:57:26 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-05-12 15:57:26 +0000 |
commit | c51d606132a6b4dc3eb2dff38369953a1db91948 (patch) | |
tree | e94f05961983198e3f6274512cd9f79865474823 /app-text | |
parent | Stable on ppc64 (diff) | |
download | historical-c51d606132a6b4dc3eb2dff38369953a1db91948.tar.gz historical-c51d606132a6b4dc3eb2dff38369953a1db91948.tar.bz2 historical-c51d606132a6b4dc3eb2dff38369953a1db91948.zip |
improve deps, dont prestrip files (bug #152263), honour ldflags and friends, appears to work fine here so its saved from last riting
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/pdf2html/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/pdf2html/Manifest | 14 | ||||
-rw-r--r-- | app-text/pdf2html/pdf2html-1.4.ebuild | 22 |
3 files changed, 31 insertions, 11 deletions
diff --git a/app-text/pdf2html/ChangeLog b/app-text/pdf2html/ChangeLog index d1593883d95e..2d95d4657705 100644 --- a/app-text/pdf2html/ChangeLog +++ b/app-text/pdf2html/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/pdf2html # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2html/ChangeLog,v 1.16 2008/01/17 20:13:18 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2html/ChangeLog,v 1.17 2008/05/12 15:57:26 aballier Exp $ + + 12 May 2008; Alexis Ballier <aballier@gentoo.org> pdf2html-1.4.ebuild: + improve deps, dont prestrip files (bug #152263), honour ldflags and + friends, appears to work fine here so its saved from last riting 17 Jan 2008; Fabian Groffen <grobian@gentoo.org> pdf2html-1.4.ebuild: Dropped ppc-macos keyword, see you in prefix diff --git a/app-text/pdf2html/Manifest b/app-text/pdf2html/Manifest index 75375da17a6b..674a4a652ab3 100644 --- a/app-text/pdf2html/Manifest +++ b/app-text/pdf2html/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pdf2html-1.4-gentoo.patch 2277 RMD160 1e5905b1821ce6a71dc5200760155eafc587d505 SHA1 69baa4e9d1158e256f94def9f4c3e2646a544042 SHA256 c4fb059289ccb1e20a85cf79d91dbe7aaa3feb83fa37bdd70f694191f5aaab26 DIST pdf2html-1.4.tgz 22976 RMD160 1a8029045bd35834925579b0102114f77541918e SHA1 efa832bf43549bfc3d3a39f390cee081c183c751 SHA256 71ee70c56ec1629442518992e1de743287d7b8799d0aae75e3be8095f7245b61 -EBUILD pdf2html-1.4.ebuild 1000 RMD160 52cb70e04934fe199b9cc790dcc1cf36cb47774e SHA1 6bde90023cf2eb7ccd790fb5dde8497692590cec SHA256 136b86f447aa9106cfb4c3dc8a37681aad426c0d95f5f488f48ba3a7853165af -MISC ChangeLog 1758 RMD160 8b50dfcd40a44133c02643b304fc46176d41d3c9 SHA1 009d612975b249cb12bb194ada427979b8b7c811 SHA256 d38ac2d71d449a5da270bddb173e30e58a6704293a2ded9ecbe89e7bc88ee681 +EBUILD pdf2html-1.4.ebuild 1229 RMD160 3ed2c1293c5651df48812222d4f92b66d2a798fd SHA1 dd29a7f6ac8ea47ac402f2186a29a55eb96ee8a1 SHA256 44b21a3ee8d688a230752c9f2cca540a5c752a005f21fd6d764c923f9407aa86 +MISC ChangeLog 1970 RMD160 f58098e0dd8ed08fc940e64e45857f6ae4735d79 SHA1 4ba72cd56605fb615880591ad00393f46de763e2 SHA256 9160d44a0274295c220da6112c27cffa4824096ad91b9c61584c84aab7f7a386 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkgoaPEACgkQvFcC4BYPU0q41wCgol/XvP/gSgcL8Pt+OfnbBGJX +NdwAniEICUW1Q37KUeLBdUVsEIIUA8Yj +=s4Uk +-----END PGP SIGNATURE----- diff --git a/app-text/pdf2html/pdf2html-1.4.ebuild b/app-text/pdf2html/pdf2html-1.4.ebuild index 2a3c249c31bc..05de196637db 100644 --- a/app-text/pdf2html/pdf2html-1.4.ebuild +++ b/app-text/pdf2html/pdf2html-1.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2html/pdf2html-1.4.ebuild,v 1.16 2008/01/17 20:13:18 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2html/pdf2html-1.4.ebuild,v 1.17 2008/05/12 15:57:26 aballier Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Converts pdf files to html files" SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/pdf2html/${P}.tgz" @@ -13,20 +13,26 @@ KEYWORDS="alpha amd64 ~ppc sparc x86" IUSE="" SLOT="0" -DEPEND=">=media-libs/libpng-1.2.5 +DEPEND=">=media-libs/libpng-1.2.5" +RDEPEND="${DEPEND} virtual/ghostscript - >=sys-libs/zlib-1.1.4 >=media-gfx/imagemagick-5.4.9" src_unpack() { unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.patch + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" } src_compile() { - emake CFLAGS="${CFLAGS}" || die "Compile has failed" + tc-export CC + # Rewrite the Makefile as that's simpler + echo "LDLIBS=-lpng" > Makefile + echo "all: pbm2png" >> Makefile + emake || die "failed to compile pbm2png" + echo "pbm2eps9: pbm2eps9.o printer.o" > Makefile + emake pbm2eps9 || die "failed to compile pbm2eps9" + echo "cp /usr/share/${P}/*.png ." >> pdf2html } |