29 lines
733 B
Plaintext
29 lines
733 B
Plaintext
# Description: a PDF rendering library based on xpdf 3.0
|
|
# URL: http://poppler.freedesktop.org/
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
# Packager:
|
|
# Depends on: t1lib, gtk, qt3, ghostscript
|
|
|
|
name=poppler
|
|
version=0.4.5
|
|
release=2
|
|
source=(http://poppler.freedesktop.org/$name-$version.tar.gz $name-0.4.5.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 -i $SRC/poppler-0.4.5.patch
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-debug
|
|
make
|
|
make install DESTDIR=$PKG
|
|
(
|
|
cd utils
|
|
for i in pdffonts pdfimages pdfinfo pdftohtml pdftops pdftotext;do
|
|
install -D -m 755 $i $PKG/usr/bin/$i
|
|
done
|
|
)
|
|
rm -rf $PKG/usr/share/locale
|
|
rm -rf $PKG/usr/share/doc
|
|
}
|