wok-next rev 19946
Up ghostscript (9.22) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 11:24:08 2017 +0200 (2017-10-16) |
parents | f6cb260678fb |
children | 28e243dfd52e |
files | ghostscript/receipt |
line diff
1.1 --- a/ghostscript/receipt Mon Oct 16 11:04:00 2017 +0200 1.2 +++ b/ghostscript/receipt Mon Oct 16 11:24:08 2017 +0200 1.3 @@ -10,13 +10,11 @@ 1.4 WEB_SITE="http://pages.cs.wisc.edu/~ghost/" 1.5 WGET_URL="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION/./}/$TARBALL" 1.6 1.7 -DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \ 1.8 -libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ 1.9 -xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 1.10 # build depends are optional ; ghostscripts still build but does not compile in cups support 1.11 BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev \ 1.12 gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \ 1.13 zlib-dev cups-dev jbig2dec jasper-dev" 1.14 +SPLIT="ghostscript ghostscript-dev" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 @@ -45,19 +43,32 @@ 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr/share 1.23 - mkdir -p $fs/usr/lib 1.24 - cp -a $install/usr/bin $fs/usr 1.25 - cp -a $install/usr/lib $fs/usr 1.26 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.27 - # Remove doc and examples 1.28 - rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc 1.29 - rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples 1.30 - # Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP 1.31 - rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/* 1.32 + case "$PACKAGE" in 1.33 + ghostscript) 1.34 + DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt \ 1.35 + libgpg-error libpng tiff zlib cups xorg-libICE \ 1.36 + xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \ 1.37 + xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 1.38 + mkdir -p $fs/usr/share 1.39 + mkdir -p $fs/usr/lib 1.40 + cp -a $install/usr/bin $fs/usr 1.41 + cp -a $install/usr/lib $fs/usr 1.42 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.43 + # Remove doc and examples 1.44 + rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc 1.45 + rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples 1.46 + # Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP 1.47 + rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/* 1.48 1.49 - # already compiled as a shared lib; gsc is same as gs 1.50 - rm -rf $fs/usr/bin/gs 1.51 + # already compiled as a shared lib; gsc is same as gs 1.52 + rm -rf $fs/usr/bin/gs 1.53 + ;; 1.54 + ghostscript-dev) 1.55 + CAT"development|Ghostscript devel file" 1.56 + mkdir -p $fs/usr/include 1.57 + cp -a $install/usr/include $fs/usr 1.58 + ;; 1.59 + esac 1.60 } 1.61 1.62 post_install()