28 lines
780 B
Bash
28 lines
780 B
Bash
# Template file for 'pdftk'
|
|
pkgname=pdftk
|
|
version=2.02
|
|
revision=3
|
|
wrksrc="${pkgname}-${version}-dist"
|
|
build_wrksrc=${pkgname}
|
|
hostmakedepends="unzip gcc-gcj"
|
|
makedepends="libgcj-devel"
|
|
nocross=yes
|
|
short_desc="Command-line tool for working with PDFs"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-2"
|
|
homepage="https://www.pdflabs.com/tools/pdftk-server/"
|
|
distfiles="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${pkgname}-${version}-src.zip"
|
|
checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
|
|
|
|
do_build() {
|
|
sed -e "s;@CXX@;$CXX;" \
|
|
-e "s;@AR@;$AR;" \
|
|
-e "s;@CXXFLAGS@;$CXXFLAGS;" \
|
|
-e "s;@LDFLAGS@;$LDFLAGS;" \
|
|
${FILESDIR}/Makefile > Makefile
|
|
make ${makejobs} || make ${makjobs}
|
|
}
|
|
do_install() {
|
|
vbin pdftk
|
|
vman ../pdftk.1
|
|
}
|