# HG changeset patch # User Pascal Bellard # Date 1510298340 -3600 # Node ID 0f7f6eab30faeaa5baf23159ecee0ae11e706f7c # Parent 3fc0b388dc5049c47c221557da69b5d00b547f89 Up gnustep-base (1.25.0) diff -r 3fc0b388dc50 -r 0f7f6eab30fa gnustep-base/receipt --- a/gnustep-base/receipt Thu Nov 09 22:26:00 2017 +0100 +++ b/gnustep-base/receipt Fri Nov 10 08:19:00 2017 +0100 @@ -1,7 +1,7 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnustep-base" -VERSION="1.22.0" +VERSION="1.25.0" CATEGORY="x-window" SHORT_DESC="GNUstep base package." MAINTAINER="pankso@slitaz.org" @@ -13,15 +13,14 @@ DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1 icu" BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \ libcrypto-dev libtasn1-dev tar icu-dev" +SPLIT="gnustep-base-dev" # Rules to configure and make the package. compile_rules() { - sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m ./configure \ --prefix=/usr \ --with-ffi-library=/usr/lib \ - --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -29,8 +28,18 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/GNUstep $fs/usr/lib + case $PACKAGE in + gnustep-base) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/GNUstep $fs/usr/lib + ;; + gnustep-base-dev) + DEPENDS="gnustep-base" + mkdir -p $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/share/GNUstep $fs/usr/share + ;; + esac }