diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-03-10 05:38:09 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-03-10 05:38:09 +0000 |
commit | a0750caef2cf1dd5bfcfd6b6522e805b92154767 (patch) | |
tree | bd3c24034002840cf4fdb442cc665978a9834f54 | |
parent | fdftk flag (diff) | |
download | historical-a0750caef2cf1dd5bfcfd6b6522e805b92154767.tar.gz historical-a0750caef2cf1dd5bfcfd6b6522e805b92154767.tar.bz2 historical-a0750caef2cf1dd5bfcfd6b6522e805b92154767.zip |
bug #20775, initial commit, ebuild by Matsuu Takuto <matsuu@gentoo.org>, modified by Robin H. Johnson <robbat2@gentoo.org>.
-rw-r--r-- | app-text/fdftk/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/fdftk/Manifest | 3 | ||||
-rw-r--r-- | app-text/fdftk/fdftk-6.0.ebuild | 57 | ||||
-rw-r--r-- | app-text/fdftk/files/digest-fdftk-6.0 | 1 |
4 files changed, 71 insertions, 0 deletions
diff --git a/app-text/fdftk/ChangeLog b/app-text/fdftk/ChangeLog new file mode 100644 index 000000000000..d29fd7d6b4db --- /dev/null +++ b/app-text/fdftk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-text/fdftk +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/fdftk/ChangeLog,v 1.1 2004/03/10 05:38:09 robbat2 Exp $ + +*fdftk-6.0 (09 Mar 2004) + + 09 Mar 2004; Robin H. Johnson <robbat2@gentoo.org> fdftk-6.0.ebuild: + bug #20775, initial commit, ebuild by Matsuu Takuto <matsuu@gentoo.org>, + modified by Robin H. Johnson <robbat2@gentoo.org>. + diff --git a/app-text/fdftk/Manifest b/app-text/fdftk/Manifest new file mode 100644 index 000000000000..4b958d297186 --- /dev/null +++ b/app-text/fdftk/Manifest @@ -0,0 +1,3 @@ +MD5 4afb1c39b3cde5d15ca5d8bc42d069fd fdftk-6.0.ebuild 1375 +MD5 6285b36ec3c58c3d1634039e0361ef9b ChangeLog 436 +MD5 715edf1c5c2a4f201f9e770bc4d0c002 files/digest-fdftk-6.0 70 diff --git a/app-text/fdftk/fdftk-6.0.ebuild b/app-text/fdftk/fdftk-6.0.ebuild new file mode 100644 index 000000000000..4e27fd002187 --- /dev/null +++ b/app-text/fdftk/fdftk-6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/fdftk/fdftk-6.0.ebuild,v 1.1 2004/03/10 05:38:09 robbat2 Exp $ + +IUSE="perl" + +MY_P="FDFToolkitForUnix" +At="${MY_P}.tar.gz" + +DESCRIPTION="Acrobat FDF Toolkit" +HOMEPAGE="http://partners.adobe.com/asn/acrobat/forms.jsp" +SRC_URI="${At}" + +SLOT="0" +LICENSE="Adobe" +KEYWORDS="-* ~x86" # binaries for i386 type hardware ONLY +RESTRICT="fetch" + +DEPEND="virtual/glibc + perl? ( dev-lang/perl )" + +S=${WORKDIR}/${MY_P} + +pkg_nofetch() { + einfo "Please download ${At} from:" + einfo ${HOMEPAGE} + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + if [ ! -r ${DISTDIR}/${At} ]; then + eerror "cannot read ${At}. Please check the permission and try again." + die + fi + unpack ${At} || die +} + +src_install () { + into /opt/${P} + dolib.so "Headers and Libraries/LINUX/FDF.so" || die + dolib.so "Headers and Libraries/LINUX/libFdfTk.so" || die + insinto /opt/${P}/include + doins "Headers and Libraries/Headers/FdfTk.h" || die + + if use perl; then + eval `perl '-V:package'` + eval `perl '-V:version'` + insinto /usr/lib/${package}/vendor_perl/${version}/Acrobat + doins "Headers and Libraries/Headers/FDF.pm" || die + fi + + into /usr + dodoc ReadMe.txt Documentation/*.pdf + + dodir /etc/env.d + echo "LDPATH=/opt/${P}/lib" >${D}/etc/env.d/55${P} +} diff --git a/app-text/fdftk/files/digest-fdftk-6.0 b/app-text/fdftk/files/digest-fdftk-6.0 new file mode 100644 index 000000000000..be04a32bee7a --- /dev/null +++ b/app-text/fdftk/files/digest-fdftk-6.0 @@ -0,0 +1 @@ +MD5 c67eb1dc626f48dcb8e388c89106dd58 FDFToolkitForUnix.tar.gz 5725906 |