wok annotate gnustep-base/receipt @ rev 10446
accessx: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 10:09:41 2011 +0200 (2011-05-25) |
parents | b66a548efa1a |
children | c404aac8cb5e |
rev | line source |
---|---|
pankso@4053 | 1 # SliTaz package receipt. |
pankso@4053 | 2 |
pankso@4053 | 3 PACKAGE="gnustep-base" |
slaxemulator@10264 | 4 VERSION="1.22.0" |
pankso@4053 | 5 CATEGORY="x-window" |
pankso@4053 | 6 SHORT_DESC="GNUstep base package." |
pankso@4053 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4053 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4053 | 9 WEB_SITE="http://www.gnustep.org/" |
pankso@4053 | 10 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL" |
pankso@4053 | 11 |
slaxemulator@10264 | 12 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1" |
pankso@10008 | 13 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \ |
pankso@10008 | 14 libcrypto-dev libtasn1-dev" |
pankso@10008 | 15 |
pankso@4053 | 16 # Rules to configure and make the package. |
pankso@4053 | 17 compile_rules() |
pankso@4053 | 18 { |
pankso@4053 | 19 cd $src |
pankso@4053 | 20 ./configure \ |
pankso@4053 | 21 --prefix=/usr \ |
pankso@4053 | 22 --with-ffi-library=/usr/lib \ |
gokhlayeh@8809 | 23 --with-ffi-include=/usr/include/libffi-3.0.9 \ |
pankso@4053 | 24 $CONFIGURE_ARGS && |
pankso@10443 | 25 make && make DESTDIR=$DESTDIR install |
pankso@4053 | 26 } |
pankso@4053 | 27 |
pankso@4053 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4053 | 29 genpkg_rules() |
pankso@4053 | 30 { |
pankso@4053 | 31 mkdir -p $fs/usr/lib |
pankso@4053 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@4053 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4053 | 34 cp -a $_pkg/usr/lib/GNUstep $fs/usr/lib |
pankso@4053 | 35 } |