wok-next annotate gnustep-base/receipt @ rev 5403

linux: clean stuff
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 02 19:32:20 2010 +0200 (2010-05-02)
parents 9f19aee613be
children 8527ff530176
rev   line source
pankso@4053 1 # SliTaz package receipt.
pankso@4053 2
pankso@4053 3 PACKAGE="gnustep-base"
pankso@4053 4 VERSION="1.18.0"
pankso@4053 5 CATEGORY="x-window"
pankso@4053 6 SHORT_DESC="GNUstep base package."
pankso@4053 7 MAINTAINER="pankso@slitaz.org"
pascal@5029 8 DEPENDS="libffi libxslt gcc gnutls libbfd gcc-lib-base libssl libcrypto libtasn1"
pankso@4053 9 BUILD_DEPENDS="libffi-dev libxslt-dev"
pankso@4053 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4053 11 WEB_SITE="http://www.gnustep.org/"
pankso@4053 12 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
pankso@4053 13
pankso@4053 14 # Rules to configure and make the package.
pankso@4053 15 compile_rules()
pankso@4053 16 {
pankso@4053 17 cd $src
pankso@4053 18 ./configure \
pankso@4053 19 --prefix=/usr \
pankso@4053 20 --with-ffi-library=/usr/lib \
pankso@4053 21 --with-ffi-include=/usr/include/libffi-3.0.8 \
pankso@4053 22 $CONFIGURE_ARGS &&
pankso@4053 23 make &&
pankso@4053 24 make DESTDIR=$PWD/_pkg install
pankso@4053 25 }
pankso@4053 26
pankso@4053 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 28 genpkg_rules()
pankso@4053 29 {
pankso@4053 30 mkdir -p $fs/usr/lib
pankso@4053 31 cp -a $_pkg/usr/bin $fs/usr
pankso@4053 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4053 33 cp -a $_pkg/usr/lib/GNUstep $fs/usr/lib
pankso@4053 34 }