wok annotate gnustep-base/receipt @ rev 18334

Updates licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 10 10:00:06 2015 +0200 (2015-09-10)
parents 05e14713995d
children 319e2b8a0571
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
slaxemulator@10264 13 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1"
pankso@10008 14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
pascal@15300 15 libcrypto-dev libtasn1-dev tar"
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 }