wok-current view gnustep-base/receipt @ rev 23948
Add barrage & penguin-command (thanks rerievo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 16:26:50 2020 +0000 (2020-09-20) |
parents | 3a42ed2154cd |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-base"
4 VERSION="1.26.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep base package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnustep.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
14 DEPENDS="gnutls icu libbfd libcrypto libffi libobjc libssl libtasn1 libxslt"
15 BUILD_DEPENDS="gnustep-make gnutls-dev icu-dev libcrypto-dev libffi-dev
16 libgnutls libtasn1-dev libxslt-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
22 Source/Additions/GSXML.m
23 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/GNUstep $fs/usr/lib
40 }