diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/fdftk/fdftk-6.0-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/fdftk/fdftk-6.0-r1.ebuild')
-rw-r--r-- | app-text/fdftk/fdftk-6.0-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app-text/fdftk/fdftk-6.0-r1.ebuild b/app-text/fdftk/fdftk-6.0-r1.ebuild new file mode 100644 index 000000000000..dcae70d7b7b0 --- /dev/null +++ b/app-text/fdftk/fdftk-6.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +MY_P="FDFToolkitForUnix" +At="${MY_P}.tar.gz" + +DESCRIPTION="Acrobat FDF Toolkit" +HOMEPAGE="http://www.adobe.com/devnet/acrobat/fdftoolkit.html" +SRC_URI="${At}" + +SLOT="0" +LICENSE="Adobe" +KEYWORDS="-* x86" # binaries for i386 type hardware ONLY +RESTRICT="fetch strip mirror" + +#DEPEND=" +# perl? ( dev-lang/perl )" +IUSE="" + +S=${WORKDIR}/${MY_P} + +pkg_nofetch() { + einfo "1. Visit ${HOMEPAGE}" + einfo "2. Review EULA" + einfo "3. Download ${At}" + einfo "4. Move ${At} 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/libFdfTk.so" || die + insinto /opt/${P}/include + doins "Headers and Libraries/Headers/FdfTk.h" || die + # It doesn't support Perl 5.8.* + #if use perl; then + # eval `perl '-V:package'` + # eval `perl '-V:version'` + # eval `perl '-V:archname'` + # insinto /usr/lib/${package}/vendor_perl/${version}/Acrobat + # exeinto /usr/lib/${package}/vendor_perl/${version}/${archname}/auto/Acrobat/FDF + # doexe "Headers and Libraries/LINUX/FDF.so" || die + # 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} +} |