New package: pdftk-2.02
Signed-off-by: Andrea Brancaleoni <miwaxe@gmail.com>
This commit is contained in:
parent
18cf78fe2e
commit
73280d3486
|
@ -0,0 +1,19 @@
|
|||
# Based on 'Makefile.Debian', part of pdftk
|
||||
# Copyright (c) 2004-2012 Sid Steward
|
||||
|
||||
export CXX= g++
|
||||
export GCJ= gcj
|
||||
export GCJH= gcjh
|
||||
export GJAR= gjar
|
||||
export LIBGCJ= /usr/share/java/libgcj.jar
|
||||
export AR= ar
|
||||
export RM= rm
|
||||
export ARFLAGS= rs
|
||||
export RMFLAGS= -vf
|
||||
export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
|
||||
export CXXFLAGS= -O2
|
||||
export GCJFLAGS= -Wno-all -fsource=1.3 -O2
|
||||
export GCJHFLAGS= -force
|
||||
export LDLIBS= -lgcj
|
||||
|
||||
include Makefile.Base
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'pdftk'
|
||||
pkgname=pdftk
|
||||
version=2.02
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${version}-dist"
|
||||
build_wrksrc=${pkgname}
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="unzip gcc-gcj"
|
||||
makedepends="libgcj-devel"
|
||||
nocross=yes
|
||||
short_desc="Command-line tool for working with PDFs"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
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
|
||||
|
||||
pre_configure() {
|
||||
cp ${FILESDIR}/Makefile Makefile
|
||||
}
|
||||
do_install() {
|
||||
vbin pdftk
|
||||
vman ../pdftk.1
|
||||
}
|
Loading…
Reference in New Issue