wok-4.x view gnustep-base/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | 9f19aee613be |
children | 8527ff530176 |
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="libffi-dev libxslt-dev"
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.8 \
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 }