summaryrefslogtreecommitdiff
path: root/poppler-glib/Pkgfile
blob: 2f55adfb48e9ee4501456aa7752db8222bf3c5e5 (plain)
    1 # Description: GLib-based shared library for poppler
    2 # URL:         http://poppler.freedesktop.org/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  glib poppler
    5 
    6 name=poppler-glib
    7 version=0.18.4
    8 release=1
    9 source=(http://poppler.freedesktop.org/poppler-$version.tar.gz)
   10 
   11 build() {
   12     cd poppler-$version
   13 
   14     ./configure --prefix=/usr \
   15                 --mandir=/usr/man \
   16                 --enable-{zlib,libjpeg,libpng,cms} \
   17                 --disable-utils \
   18                 --disable-gtk-test \
   19                 --disable-poppler-{qt4,cpp}
   20 
   21     make
   22     make DESTDIR=$PKG install
   23 
   24     rm -r $PKG/usr/{bin,share}
   25     rm $PKG/usr/lib/pkgconfig/poppler{,-cairo,-splash}.pc
   26     rm $PKG/usr/lib/libpoppler.*
   27 }

Generated by cgit