diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
commit | 50e5ce5b17e69be13228e2393c5804b0a79acfab (patch) | |
tree | 9845fa9af128d7fdd791755bb2be320f3ba2be4e /xpdf/Pkgfile | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8548e8d6882b55dfb509b18dedfb7db17630037d (diff) | |
download | nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2 nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'xpdf/Pkgfile')
-rw-r--r-- | xpdf/Pkgfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/xpdf/Pkgfile b/xpdf/Pkgfile new file mode 100644 index 000000000..8b55029a1 --- /dev/null +++ b/xpdf/Pkgfile @@ -0,0 +1,39 @@ +# 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 +# Run 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 \ + http://nutyx.meticul.eu/files/patchs/$name/{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 +} + |