wok view gnustep-base/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents c404aac8cb5e
children 2b9f96603415
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnustep.org/"
10 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
12 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1"
13 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
14 libcrypto-dev libtasn1-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --with-ffi-library=/usr/lib \
23 --with-ffi-include=$(ls -d /usr/include/libffi-[0-9]*) \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/GNUstep $fs/usr/lib
35 }