# Description: PDF viewer # URL: http://foolabs.com/xpdf # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Robert McMeekin, viper at mcmeekin dot info # Depends on: lesstif, t1lib name=xpdf version=3.02 release=6 source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz ftp://ftp.foolabs.com/pub/xpdf/$name-3.02pl{1,2,3,4,5}.patch) build() { cd $name-$version cat $SRC/$name-3.02pl*.patch | patch -p1 ./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 make make install DESTDIR=$PKG }