opt/xpdf/Pkgfile

30 lines
745 B
Plaintext
Raw Normal View History

2006-04-13 23:43:04 +02:00
# Maintainer: Simone Rota, sip at crux dot nu
2006-02-23 16:26:10 +01:00
# Packager: Robert McMeekin, viper at mcmeekin dot info
# Description: PDF viewer
# URL: http://foolabs.com/xpdf
# Depends on: lesstif, t1lib
name=xpdf
2006-03-26 03:27:54 +02:00
version=3.01pl2
2006-11-19 17:28:31 +01:00
release=2
2006-02-23 16:26:10 +01:00
source=(ftp://ftp.foolabs.com/pub/xpdf/$name-3.01.tar.gz \
2006-11-19 17:28:31 +01:00
$name-$version.patch
$name-3.01-noftinternals.patch)
2006-02-23 16:26:10 +01:00
build()
{
cd $name-3.01
patch -p1 < ../$name-$version.patch
2006-11-19 17:28:31 +01:00
patch -p1 < ../$name-3.01-noftinternals.patch
2006-02-23 16:26:10 +01:00
./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
}