Skip to content
Permalink
f5a7909eb8
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@david
Latest commit 31d7605 Mar 24, 2022 History
add precompiled standalone version
dont get it compiled
1 contributor

Users who have contributed to this file

executable file 33 lines (22 sloc) 737 Bytes
#! /bin/bash
PKG=pdftk
VERSION=3.3.2
BUILD=0
PREFIX=/pkg/$PKG-$VERSION-$BUILD
if [ -n "$TESTING" ]; then PREFIX=/dev/shm/$PKG-$VERSION-$BUILD ; fi
set -xe
umask 022
exec </dev/null
mkdir -p $PREFIX
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} ; fi
EOF
. $PREFIX/profile
export MAKEFLAGS="-j $(nproc)"
test -d ${PREFIX}/bin || mkdir ${PREFIX}/bin
cd ${PREFIX}/bin
#test -e ${PKG} || wget https://gitlab.com/api/v4/projects/5024297/packages/generic/pdftk-java/v3.3.2/pdftk
test -e ${PKG} || wget https://beehive.molgen.mpg.de/8419fb6bc974a6729a95e9c69daef1fb/pdftk
chmod 755 ${PREFIX}/bin/${PKG}
exit