pdftk: remove and replace with pdftk-java
- requires gcc6 libraries, which are now in /bootstrap - replaced by pdftk-java: > This is a port of pdftk into Java. > The current goals are to keep functionality as compatible with the > original as it is reasonable, to fix any issues present in the > original (correctness takes precedence over compatibility, see the > differences), and to clean up the code. New functionality may be added, > but it is not a priority. fixes #47176
This commit is contained in:
parent
d0b866bbbc
commit
2b005006cb
1
srcpkgs/pdftk
Symbolic link
1
srcpkgs/pdftk
Symbolic link
@ -0,0 +1 @@
|
||||
pdftk-java
|
@ -26,3 +26,9 @@ do_install() {
|
||||
vman pdftk.1
|
||||
vbin "${FILESDIR}"/pdftk
|
||||
}
|
||||
|
||||
pdftk_package() {
|
||||
build_style=meta
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" (transitional dummy package)"
|
||||
}
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Based on 'Makefile.Debian', part of pdftk
|
||||
# Copyright (c) 2004-2012 Sid Steward
|
||||
|
||||
export CXX= @CXX@
|
||||
export GCJ= gcj-6
|
||||
export GCJH= gcjh-6
|
||||
export GJAR= gjar-6
|
||||
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= @CXXFLAGS@
|
||||
export GCJFLAGS= -Wno-all -fsource=1.3 -O2 -fPIC -L/usr/lib
|
||||
export GCJHFLAGS= -force
|
||||
export LDLIBS= @LDFLAGS@ -lgcj
|
||||
|
||||
include Makefile.Base
|
@ -1,30 +0,0 @@
|
||||
# Template file for 'pdftk'
|
||||
pkgname=pdftk
|
||||
version=2.02
|
||||
revision=4
|
||||
build_wrksrc=${pkgname}
|
||||
hostmakedepends="unzip gcc6-gcj gcc6"
|
||||
makedepends="libgcj-devel"
|
||||
short_desc="Command-line tool for working with PDFs"
|
||||
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.pdflabs.com/tools/pdftk-server/"
|
||||
distfiles="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${pkgname}-${version}-src.zip"
|
||||
checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
_cxxflags="${CXXFLAGS//-fstack-clash-protection}"
|
||||
_cxxflags="${_cxxflags//-ffile-prefix-map=\/builddir\/${pkgname}-${version}\/${build_wrksrc}=.}"
|
||||
sed -e "s;@CXX@;g++-6;" \
|
||||
-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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user