wok-current annotate gnustep-base/receipt @ rev 21474

updated mousepad (0.3.0 -> 0.4.1)
author Hans-G?nter Theisgen
date Wed May 01 07:26:05 2019 +0100 (2019-05-01)
parents 50c95867e6b3
children 3a42ed2154cd
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@21405 20 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
pascal@21405 21 Source/Additions/GSXML.m
pascal@17404 22 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
pankso@4053 23 ./configure \
pankso@4053 24 --prefix=/usr \
pankso@4053 25 --with-ffi-library=/usr/lib \
pascal@15049 26 --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \
pankso@4053 27 $CONFIGURE_ARGS &&
pankso@10443 28 make && make DESTDIR=$DESTDIR install
pankso@4053 29 }
pankso@4053 30
pankso@4053 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 32 genpkg_rules()
pankso@4053 33 {
pankso@4053 34 mkdir -p $fs/usr/lib
pascal@14999 35 cp -a $install/usr/bin $fs/usr
pascal@14999 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14999 37 cp -a $install/usr/lib/GNUstep $fs/usr/lib
pankso@4053 38 }