diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/fdftk | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/fdftk')
-rw-r--r-- | app-text/fdftk/Manifest | 3 | ||||
-rw-r--r-- | app-text/fdftk/fdftk-6.0-r1.ebuild | 60 | ||||
-rw-r--r-- | app-text/fdftk/metadata.xml | 11 |
3 files changed, 74 insertions, 0 deletions
diff --git a/app-text/fdftk/Manifest b/app-text/fdftk/Manifest new file mode 100644 index 000000000000..c1347b051beb --- /dev/null +++ b/app-text/fdftk/Manifest @@ -0,0 +1,3 @@ +DIST FDFToolkitForUnix.tar.gz 5725906 BLAKE2B 800ff670744bcbb9673db6edbb1d35e0c530fed5374da26520152b257c83abda3588886d6bac787701e767c5ae0651341804468b2a744bb466b525338a7ae899 SHA512 835438c5031464c169543d42a512ad691824dcea6d7f38e746bbe778adc9511eaa15c49ac2d4b3a92e4f831275e16a409e9e1e275983fb70309559ecdf686a66 +EBUILD fdftk-6.0-r1.ebuild 1445 BLAKE2B 70c106f7da5f92e9409111cf481b10b96bb5b69917572248734a05f93ddd2dcdc89395f475f322591235d39974826ee5ab7c22bd176c2593eba1fd3c40abc540 SHA512 350db0434a6ab2fd239f3ace57426124570d9b2d8c16525512c2cff27ecce39553916980faecd416d43b03627eb11b1e22ebd1d9e850308a9d4be912e37419f5 +MISC metadata.xml 324 BLAKE2B d19168d873a621db4923cb020f10b8c7c52a0f4c336155a834921391dc7209b25ac89abdb16e49f1494deb8bc46d27c71922cd592b2d9aa924d0b4aeeb016c12 SHA512 73461851a2949c275eeb920052d972a17c5f687eeabc7453614289cc1fa05b4c2ae9a40a2bcf5b767b564c8ce93e24b7a619e71ab706424a9e0990a30ad28959 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..32124da0c9d0 --- /dev/null +++ b/app-text/fdftk/fdftk-6.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +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} +} diff --git a/app-text/fdftk/metadata.xml b/app-text/fdftk/metadata.xml new file mode 100644 index 000000000000..f93818d4dfc6 --- /dev/null +++ b/app-text/fdftk/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>robbat2@gentoo.org</email> +</maintainer> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +</pkgmetadata> |