wok view gnustep-base/receipt @ rev 24429

updated collectd (5.10.0 -> 5.12.0)
author Hans-G?nter Theisgen
date Sat Feb 12 15:50:46 2022 +0100 (2022-02-12)
parents 2ef5a275ca9b
children 40920382097c
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="http://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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|\(buf->buffer\)->content.*)|xmlBufContent(\1), xmlBufUse(\1))|' \
29 Source/Additions/GSXML.m
30 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
32 ./configure \
33 --prefix=/usr \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/GNUstep $fs/usr/lib
47 }