opt/xpdf/Pkgfile
2007-08-11 00:09:55 +03:00

27 lines
670 B
Plaintext

# Maintainer: Antti Nykanen, aon at iki dot fi
# Packager: Robert McMeekin, viper at mcmeekin dot info
# Description: PDF viewer
# URL: http://foolabs.com/xpdf
# Depends on: lesstif, t1lib
name=xpdf
version=3.02
release=2
source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz
$name-$version.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-$version.patch
./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
}