diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 21:01:52 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-12 21:01:52 +0200 |
commit | 49f0f8a9305b79a05518b1233cf5a3d5c7c94728 (patch) | |
tree | d0dcfe8d385dce888a214cc3727b85e196f92d1d /extra/xpdf/Pkgfile | |
parent | 27b80bafad9013aa528df6eac08662c496bd982b (diff) | |
download | nutyx-extra-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.gz nutyx-extra-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.bz2 nutyx-extra-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.tar.xz nutyx-extra-49f0f8a9305b79a05518b1233cf5a3d5c7c94728.zip |
Ajout de xpdf#3.02-1
Diffstat (limited to 'extra/xpdf/Pkgfile')
-rw-r--r-- | extra/xpdf/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/xpdf/Pkgfile b/extra/xpdf/Pkgfile new file mode 100644 index 000000000..4533c692e --- /dev/null +++ b/extra/xpdf/Pkgfile @@ -0,0 +1,37 @@ +# Description: Permet de visionner des documents PDF +# URL: http://www.foolabs.com/xpdf/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: lesstif + +name=xpdf +version=3.02 +release=1 +source=(http://gd.tuwien.ac.at/publishing/$name/$name-$version.tar.gz\ + ftp://ftp.foolabs.com/pub/$name/$name-${version}pl1.patch \ + ftp://ftp.foolabs.com/pub/$name/$name-${version}pl2.patch \ + patch.patch xpdf.desktop ) + +build() { + cd $name-$version + patch -Np1 -i ../$name-${version}pl1.patch + patch -Np1 -i ../$name-${version}pl2.patch +# patch -Np1 -i ../patch.patch + sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' xpdf/GlobalParams.cc + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --enable-multithreaded --enable-wordlist \ + --with-freetype2-includes=/usr/include/freetype2 \ + --with-t1-library=/usr/lib \ + --with-t1-includes=/usr/include \ + --x-includes=/usr/include \ + --with-Xm-library=/usr/lib \ + --with-Xm-includes=/usr/include + make + make DESTDIR=$PKG install + install -Dm644 ../xpdf.desktop \ + $PKG/usr/share/applications/xpdf.desktop + install -Dm644 xpdf/xpdfIcon.xpm \ + $PKG/usr/share/pixmaps/xpdf.xpm +} |