summaryrefslogtreecommitdiff
path: root/user/gnu-ghostscript
diff options
context:
space:
mode:
Diffstat (limited to 'user/gnu-ghostscript')
-rw-r--r--user/gnu-ghostscript/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/user/gnu-ghostscript/APKBUILD b/user/gnu-ghostscript/APKBUILD
index b0ecc1b57..ea0099364 100644
--- a/user/gnu-ghostscript/APKBUILD
+++ b/user/gnu-ghostscript/APKBUILD
@@ -11,7 +11,7 @@ depends=""
makedepends="dbus-dev fontconfig-dev freetype-dev lcms2-dev libice-dev
libjpeg-turbo-dev libpaper-dev libpng-dev libx11-dev libxext-dev
libxt-dev tiff-dev zlib-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-$pkgver.tar.xz
do-not-use-sprintf.patch
"
@@ -24,8 +24,11 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --enable-dynamic \
+ --with-system-libtiff
make
+ make so
}
check() {
@@ -36,6 +39,8 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" soinstall
+ install -D -m644 base/*.h "$pkgdir"/usr/include/ghostscript
}
sha512sums="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9 gnu-ghostscript-9.14.1.tar.xz