wok annotate gnustep-base/receipt @ rev 24051

Add veracrypt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 24 11:24:29 2021 +0000 (2021-05-24)
parents 3a42ed2154cd
children 453c249b6219
rev   line source
pankso@4053 1 # SliTaz package receipt.
pankso@4053 2
pankso@4053 3 PACKAGE="gnustep-base"
Hans-G?nter@22865 4 VERSION="1.26.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"
Hans-G?nter@22865 9 WEB_SITE="http://www.gnustep.org/"
Hans-G?nter@22865 10
pankso@4053 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4053 12 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
pankso@4053 13
Hans-G?nter@22865 14 DEPENDS="gnutls icu libbfd libcrypto libffi libobjc libssl libtasn1 libxslt"
Hans-G?nter@22865 15 BUILD_DEPENDS="gnustep-make gnutls-dev icu-dev libcrypto-dev libffi-dev
Hans-G?nter@22865 16 libgnutls libtasn1-dev libxslt-dev openssl-dev"
pankso@10008 17
pankso@4053 18 # Rules to configure and make the package.
pankso@4053 19 compile_rules()
pankso@4053 20 {
pascal@21405 21 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
pascal@21405 22 Source/Additions/GSXML.m
pascal@17404 23 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
Hans-G?nter@22865 24
Hans-G?nter@22865 25 ./configure \
Hans-G?nter@22865 26 --prefix=/usr \
pankso@4053 27 $CONFIGURE_ARGS &&
Hans-G?nter@22865 28 make &&
Hans-G?nter@22865 29 make DESTDIR=$DESTDIR install
pankso@4053 30 }
pankso@4053 31
pankso@4053 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 33 genpkg_rules()
pankso@4053 34 {
pankso@4053 35 mkdir -p $fs/usr/lib
Hans-G?nter@22865 36
Hans-G?nter@22865 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22865 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22865 39 cp -a $install/usr/lib/GNUstep $fs/usr/lib
pankso@4053 40 }