On Mon, 8 Aug 2016 05:13:57 +0000
Michael Koloberdin <koloberdin@gmail.com> wrote:
> ---> testing/pdftk/APKBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++> testing/pdftk/Makefile.Alpine | 20 +++++++++++++++++> 2 files changed, 71 insertions(+)> create mode 100644 testing/pdftk/APKBUILD> create mode 100644 testing/pdftk/Makefile.Alpine> > diff --git a/testing/pdftk/APKBUILD b/testing/pdftk/APKBUILD> new file mode 100644> index 0000000..c61382e> --- /dev/null> +++ b/testing/pdftk/APKBUILD> @@ -0,0 +1,51 @@> +# Maintainer: Michael Koloberdin <koloberdin@gmail.com>> +pkgname=pdftk> +pkgver=2.02> +pkgrel=0> +pkgdesc="Pdftk is a simple tool for doing everyday things with PDF documents"> +url="http://www.pdfhacks.com/pdftk"> +arch="all"> +license="GPL"> +depends="libgcj"
you don't need explicitly add libgcj to depends. abuild will do this
for you:
>>> pdftk*: Tracing dependencies...
libgcj
so:libc.musl-x86_64.so.1
so:libgcc_s.so.1
so:libgcj.so.17
so:libstdc++.so.6
as you see abuild will add a depend=so:libgcj.so.17. abuild will also
make sure that whatever package that has the libgcj.so.17 will also
have a provides=so:libgcj.so.17. That way we don't need to modify the
depend="libgcj" in pdftk if the library moves to another package.
In other words: abuild manages shared libraries and you don't specify
the depend.
I removed it for you.
I also converted the Makefile.Alpine to a heredoc.
Thanks!
-nc
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---