wok view gnustep-base/receipt @ rev 25371

updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Fri Jul 29 14:34:07 2022 +0100 (2022-07-29)
parents 453c249b6219
children 19fff4ad1644
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="http://ftp.gnustep.org/pub/gnustep/core/$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 }