parent
308f69de36
commit
55c1f2a74e
|
@ -1,19 +1,19 @@
|
|||
# Based on 'Makefile.Debian', part of pdftk
|
||||
# Copyright (c) 2004-2012 Sid Steward
|
||||
|
||||
export CXX= g++
|
||||
export CXX= @CXX@
|
||||
export GCJ= gcj
|
||||
export GCJH= gcjh
|
||||
export GJAR= gjar
|
||||
export LIBGCJ= /usr/share/java/libgcj.jar
|
||||
export AR= ar
|
||||
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 CXXFLAGS= @CXXFLAGS@
|
||||
export GCJFLAGS= -Wno-all -fsource=1.3 -O2 -fPIC -L/usr/lib
|
||||
export GCJHFLAGS= -force
|
||||
export LDLIBS= -lgcj
|
||||
export LDLIBS= @LDFLAGS@ -lgcj
|
||||
|
||||
include Makefile.Base
|
||||
|
|
|
@ -15,8 +15,12 @@ distfiles="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${pkgname}-${versi
|
|||
checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
|
||||
|
||||
do_build() {
|
||||
cp ${FILESDIR}/Makefile Makefile
|
||||
make
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue