wok annotate gnustep-base/receipt @ rev 19317

Make pcmanfm the opener of 'ftp://' and 'sftp://'.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 12 23:46:10 2016 +0300 (2016-07-12)
parents 05a0cbbb07b4
children 50c95867e6b3
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@18382 15 libcrypto-dev libtasn1-dev tar icu-dev"
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 }