wok-6.x view gnustep-base/receipt @ rev 21432
updated merkaartor (0.18.1 -> 0.18.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 27 10:50:46 2019 +0100 (2019-04-27) |
parents | 50c95867e6b3 |
children | 3a42ed2154cd |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-base"
4 VERSION="1.22.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep base package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnustep.org/"
11 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
13 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1 icu"
14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
15 libcrypto-dev libtasn1-dev tar icu-dev libgnutls"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
21 Source/Additions/GSXML.m
22 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
23 ./configure \
24 --prefix=/usr \
25 --with-ffi-library=/usr/lib \
26 --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/GNUstep $fs/usr/lib
38 }