wok-current annotate gnustep-base/receipt @ rev 8809
Fix gnustep-base compile_rules()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 02:20:47 2011 +0100 (2011-02-23) |
parents | 8527ff530176 |
children | 95d3f98629c5 |
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 \ |
gokhlayeh@8809 | 21 --with-ffi-include=/usr/include/libffi-3.0.9 \ |
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 } |