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

gnustep-base: fix libffi path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 18:46:44 2013 +0000 (2013-08-12)
parents 7896f0694ef6
children 05e14713995d
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"
pascal@15002 8 LICENSE="GPL2"
pankso@4053 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4053 10 WEB_SITE="http://www.gnustep.org/"
pankso@4053 11 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
pankso@4053 12
slaxemulator@10264 13 DEPENDS="libffi libxslt gnutls libbfd libobjc libssl libcrypto libtasn1"
pankso@10008 14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
pankso@10008 15 libcrypto-dev libtasn1-dev"
pankso@10008 16
pankso@4053 17 # Rules to configure and make the package.
pankso@4053 18 compile_rules()
pankso@4053 19 {
pankso@4053 20 cd $src
pankso@4053 21 ./configure \
pankso@4053 22 --prefix=/usr \
pankso@4053 23 --with-ffi-library=/usr/lib \
pascal@15049 24 --with-ffi-include=$(ls -d /usr/lib/libffi-[0-9]*) \
pankso@4053 25 $CONFIGURE_ARGS &&
pankso@10443 26 make && make DESTDIR=$DESTDIR install
pankso@4053 27 }
pankso@4053 28
pankso@4053 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 30 genpkg_rules()
pankso@4053 31 {
pankso@4053 32 mkdir -p $fs/usr/lib
pascal@14999 33 cp -a $install/usr/bin $fs/usr
pascal@14999 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14999 35 cp -a $install/usr/lib/GNUstep $fs/usr/lib
pankso@4053 36 }