summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-01-06 02:37:19 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-01-06 02:37:19 +0000
commit0e25d77de8edf201fd795ca0406ffc50d2dd3d45 (patch)
tree5738d8b0401a4ae6a02c4e951a4905f48c2ebb33 /app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild
parentpull in pkg-config #204467 (diff)
downloadgentoo-2-0e25d77de8edf201fd795ca0406ffc50d2dd3d45.tar.gz
gentoo-2-0e25d77de8edf201fd795ca0406ffc50d2dd3d45.tar.bz2
gentoo-2-0e25d77de8edf201fd795ca0406ffc50d2dd3d45.zip
version bump.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild')
-rw-r--r--app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild b/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild
new file mode 100644
index 000000000000..7d81c9ad114c
--- /dev/null
+++ b/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild,v 1.1 2008/01/06 02:37:18 sbriesen Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P="mbtPdfAsm-${PV}"
+
+DESCRIPTION="mbtPdfAsm can assemble/merge PDF files, extract information from PDF files, and update the metadata in PDF files."
+HOMEPAGE="http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html"
+SRC_URI="http://thierry.schmit.free.fr/spip/IMG/gz/${MY_P}.tar.gz
+ http://sbriesen.de/gentoo/distfiles/${P}-manual.pdf.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-makefile.diff"
+ epatch "${FILESDIR}/${P}-64bit.diff"
+ epatch "${FILESDIR}/${P}-main.diff"
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" || die "emake failed"
+}
+
+src_install() {
+ dobin mbtPdfAsm || die "install failed"
+ insinto "/usr/share/doc/${PF}"
+ newins ${P}-manual.pdf mbtPdfAsm.pdf
+}