wok view gnustep-base/receipt @ rev 9066
dahdi-linux: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 13:34:20 2011 +0100 (2011-03-04) |
parents | 8527ff530176 |
children | 95d3f98629c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-base"
4 VERSION="1.18.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep base package."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libffi libxslt gcc gnutls libbfd gcc-lib-base libssl libcrypto libtasn1"
9 BUILD_DEPENDS="gnustep-make"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnustep.org/"
12 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --with-ffi-library=/usr/lib \
21 --with-ffi-include=/usr/include/libffi-3.0.9 \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/GNUstep $fs/usr/lib
34 }