wok-6.x annotate gnustep-base/receipt @ rev 8790
Fix bdeps: gnustep packages needs gnustep-make to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:07:21 2011 +0100 (2011-02-22) |
parents | 116602ef2d27 |
children | a78433086aa5 |
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" |
gokhlayeh@8790 | 9 BUILD_DEPENDS="gnustep-make" |
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 } |