2022-02-05 15:39:19 -05:00
|
|
|
# Description: OpenGL to Postscript printing library
|
|
|
|
# URL: https://geuz.org/gl2ps/
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2022-04-26 07:51:12 -04:00
|
|
|
# Depends on: libglvnd texlive
|
2022-02-05 15:39:19 -05:00
|
|
|
|
|
|
|
name=gl2ps
|
|
|
|
version=1.4.2
|
|
|
|
release=1
|
|
|
|
source=(https://geuz.org/$name/src/$name-$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
export FORCE_SOURCE_DATE=1 # make pdftex adhere to SOURCE_DATE_EPOCH
|
|
|
|
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake ../ -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_EXE_LINKER_FLAGS=-lm
|
|
|
|
make
|
|
|
|
|
|
|
|
make DESTDIR=$PKG install
|
2022-02-12 09:46:46 -05:00
|
|
|
rm -f $PKG/usr/share/doc/gl2ps/{README,COPYING}*
|
2022-02-05 15:39:19 -05:00
|
|
|
}
|