2011-07-30 17:31:26 +02:00
|
|
|
# Description: GLib-based shared library for poppler
|
|
|
|
# URL: http://poppler.freedesktop.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: glib poppler
|
|
|
|
|
|
|
|
name=poppler-glib
|
2012-10-14 11:40:24 +02:00
|
|
|
version=0.20.5
|
2011-07-30 17:31:26 +02:00
|
|
|
release=1
|
|
|
|
source=(http://poppler.freedesktop.org/poppler-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poppler-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--enable-{zlib,libjpeg,libpng,cms} \
|
|
|
|
--disable-utils \
|
2011-12-19 17:25:01 +01:00
|
|
|
--disable-gtk-test \
|
|
|
|
--disable-poppler-{qt4,cpp}
|
2011-07-30 17:31:26 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-09-11 11:02:41 +02:00
|
|
|
rm -r $PKG/usr/share
|
2011-12-19 17:25:01 +01:00
|
|
|
rm $PKG/usr/lib/pkgconfig/poppler{,-cairo,-splash}.pc
|
2011-07-30 17:31:26 +02:00
|
|
|
rm $PKG/usr/lib/libpoppler.*
|
|
|
|
}
|