opt/xpdf/Pkgfile

28 lines
747 B
Plaintext
Raw Normal View History

2007-05-15 21:19:29 +02:00
# Description: PDF viewer
2010-02-28 02:58:28 +01:00
# URL: http://foolabs.com/xpdf
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Robert McMeekin, viper at mcmeekin dot info
2007-05-15 21:19:29 +02:00
# Depends on: lesstif, t1lib
name=xpdf
version=3.02
2010-11-14 17:00:23 +01:00
release=6
source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz
2010-11-14 17:00:23 +01:00
ftp://ftp.foolabs.com/pub/xpdf/$name-3.02pl{1,2,3,4,5}.patch)
2007-05-15 21:19:29 +02:00
build() {
cd $name-$version
2010-11-14 17:00:23 +01:00
cat $SRC/$name-3.02pl*.patch | patch -p1
2007-05-15 21:19:29 +02:00
./configure \
2010-11-14 17:00:23 +01:00
--prefix=/usr \
2007-05-15 21:19:29 +02:00
--with-Xm-library=/usr/lib \
--with-Xm-includes=/usr/include/Xm \
2010-11-14 17:00:23 +01:00
--with-freetype2-includes=/usr/include/freetype2 \
2007-05-15 21:19:29 +02:00
--sysconfdir=/etc \
--enable-a4-paper \
--enable-opi
make
make install DESTDIR=$PKG
}