wok annotate gnustep-base/receipt @ rev 21303

updated libsdl2-image, libsdl2-image-dev, libsdl2-mixer and libsdl2-mixer-dev-dev (2.0.0 -> 2.0.4)
author Hans-G?nter Theisgen
date Thu Apr 18 14:42:22 2019 +0100 (2019-04-18)
parents 319e2b8a0571
children 9bab80489afc
rev   line source
pankso@4053 1 # SliTaz package receipt.
pankso@4053 2
pankso@4053 3 PACKAGE="gnustep-base"
slaxemulator@10264 4 VERSION="1.22.0"
pankso@4053 5 CATEGORY="x-window"
pankso@4053 6 SHORT_DESC="GNUstep base package."
pankso@4053 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pankso@4053 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4053 10 WEB_SITE="http://www.gnustep.org/"
pankso@4053 11 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
pankso@4053 12
pascal@18382 13 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1 icu"
pankso@10008 14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
pascal@20600 15 libcrypto-dev libtasn1-dev tar icu-dev libgnutls"
pankso@10008 16
pankso@4053 17 # Rules to configure and make the package.
pankso@4053 18 compile_rules()
pankso@4053 19 {
pascal@17404 20 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
pankso@4053 21 ./configure \
pankso@4053 22 --prefix=/usr \
pankso@4053 23 --with-ffi-library=/usr/lib \
pascal@15049 24 --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \
pankso@4053 25 $CONFIGURE_ARGS &&
pankso@10443 26 make && make DESTDIR=$DESTDIR install
pankso@4053 27 }
pankso@4053 28
pankso@4053 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 30 genpkg_rules()
pankso@4053 31 {
pankso@4053 32 mkdir -p $fs/usr/lib
pascal@14999 33 cp -a $install/usr/bin $fs/usr
pascal@14999 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14999 35 cp -a $install/usr/lib/GNUstep $fs/usr/lib
pankso@4053 36 }