summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:21:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:21:45 +0000
commit2aa026cbdc1d4f071820b792744c279073a3013a (patch)
tree59b7dd461c1905e20f3f913bb22661246257c08d
parent2cbb8715d37dc9bd031582a08c1a4d54e23227b6 (diff)
downloadpackages-2aa026cbdc1d4f071820b792744c279073a3013a.tar.gz
packages-2aa026cbdc1d4f071820b792744c279073a3013a.tar.bz2
packages-2aa026cbdc1d4f071820b792744c279073a3013a.tar.xz
packages-2aa026cbdc1d4f071820b792744c279073a3013a.zip
user/gnu-ghostscript: enable .so and headers
-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