milis/talimatname/genel/x/xpdf/talimat

32 lines
728 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: PDF goruntuleyici
# URL: http://foolabs.com/xpdf
# Paketçi: milisarge
# Gerekler: lesstif
isim=xpdf
surum=3.04
devir=1
kaynak=(ftp://ftp.foolabs.com/pub/xpdf/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
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
}