2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: PDF goruntuleyici
|
2017-05-01 10:55:43 +02:00
|
|
|
|
# URL: http://foolabs.com/xpdf
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: lesstif
|
2016-04-29 21:24:07 +02:00
|
|
|
|
|
|
|
|
|
name=xpdf
|
|
|
|
|
version=3.04
|
|
|
|
|
release=1
|
|
|
|
|
source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-04-29 21:24:07 +02:00
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
|
|
sed -i 's/\(s = XmStringCreateLocalized(\)/\1(char *)/g' xpdf/XPDFViewer.cc
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--with-Xm-library=/usr/lib \
|
|
|
|
|
--with-Xm-includes=/usr/include/Xm \
|
|
|
|
|
--with-freetype2-includes=/usr/include/freetype2 \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--enable-a4-paper \
|
|
|
|
|
--enable-opi \
|
|
|
|
|
--with-t1-library=no \
|
|
|
|
|
--mandir=/usr/man
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
|
|
|
|
|
|
find $PKG/usr/bin $PKG/usr/man/man1 -iname 'pdf*' -delete
|
|
|
|
|
}
|