wok view gnustep-base/receipt @ rev 17782

ayttm: remove -lfl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 17:21:06 2015 +0100 (2015-03-14)
parents 05e14713995d
children 319e2b8a0571
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"
14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
15 libcrypto-dev libtasn1-dev tar"
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 }