wok-6.x view gnustep-base/receipt @ rev 20248

Up alsa (1.1.5) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 15:28:31 2018 +0100 (2018-03-12)
parents 05a0cbbb07b4
children 50c95867e6b3
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' Source/GSSocketStream.m
21 ./configure \
22 --prefix=/usr \
23 --with-ffi-library=/usr/lib \
24 --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/GNUstep $fs/usr/lib
36 }