wok-current view gnustep-base/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 40920382097c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-base"
4 VERSION="1.28.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="https://github.com/gnustep/libs-base/releases/download/base-${VERSION//./_}/$TARBALL"
14 DEPENDS="gnutls icu libbfd libcrypto libffi libobjc libssl libtasn1 libxml2
15 libxslt"
16 BUILD_DEPENDS="gnustep-make gnutls-dev icu-dev libffi-dev libcrypto-dev
17 libtasn1-dev libxml2-dev libxslt-dev openssl-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
30 Source/Additions/GSXML.m
31 # 1.26.0
32 # sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
34 . /usr/share/GNUstep/Makefiles/GNUstep.sh &&
35 ./configure \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/GNUstep $fs/usr/lib
50 }