2007-05-15 22:19:29 +03:00
|
|
|
# Description: PDF viewer
|
2017-08-20 22:27:55 +02:00
|
|
|
# URL: http://www.xpdfreader.com
|
2010-02-28 02:58:28 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Robert McMeekin, viper at mcmeekin dot info
|
2017-11-07 00:36:01 +01:00
|
|
|
# Depends on: lesstif, qt4
|
2017-08-20 22:27:55 +02:00
|
|
|
# Nice to have: qt5 (instead of qt4)
|
2007-05-15 22:19:29 +03:00
|
|
|
|
|
|
|
name=xpdf
|
2017-08-20 22:27:55 +02:00
|
|
|
version=4.00
|
2014-06-05 13:38:19 +02:00
|
|
|
release=1
|
2018-02-12 21:14:37 +01:00
|
|
|
source=(https://xpdfreader-dl.s3.amazonaws.com/xpdf-${version}.tar.gz)
|
2007-05-15 22:19:29 +03:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2011-09-12 12:58:12 +02:00
|
|
|
|
2017-08-20 22:27:55 +02:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2010-11-14 17:00:23 +01:00
|
|
|
|
2017-08-20 22:27:55 +02:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-08-20 22:31:37 +02:00
|
|
|
-DA4_PAPER=ON -LAH ..
|
2017-08-20 22:27:55 +02:00
|
|
|
|
|
|
|
cd xpdf-qt
|
2011-09-12 12:58:12 +02:00
|
|
|
|
2017-08-20 22:31:37 +02:00
|
|
|
sed -i 's|man/man1|share/man1|g' cmake_install.cmake
|
|
|
|
|
2007-05-15 22:19:29 +03:00
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
2014-05-05 14:28:36 +02:00
|
|
|
|
2007-05-15 22:19:29 +03:00
|
|
|
}
|