wok-next annotate gnustep-make/receipt @ rev 7411
merge
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Sun Nov 28 17:16:25 2010 +0800 (2010-11-28) |
parents | |
children | 5e2694ed436c |
rev | line source |
---|---|
pankso@4053 | 1 # SliTaz package receipt. |
pankso@4053 | 2 |
pankso@4053 | 3 PACKAGE="gnustep-make" |
pankso@4053 | 4 VERSION="2.2.0" |
pankso@4053 | 5 CATEGORY="development" |
pankso@4053 | 6 SHORT_DESC="GNUstep make package." |
pankso@4053 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4053 | 8 DEPENDS="make" |
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 |
pankso@4053 | 13 # Rules to configure and make the package. |
pankso@4053 | 14 compile_rules() |
pankso@4053 | 15 { |
pankso@4053 | 16 cd $src |
pankso@4053 | 17 ./configure \ |
pankso@4053 | 18 --prefix=/usr \ |
pankso@4053 | 19 --with-layout=fhs \ |
pankso@4053 | 20 $CONFIGURE_ARGS && |
pankso@4053 | 21 make && |
pankso@4053 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4053 | 23 } |
pankso@4053 | 24 |
pankso@4053 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4053 | 26 genpkg_rules() |
pankso@4053 | 27 { |
pankso@4053 | 28 mkdir -p $fs/usr/share |
pankso@4053 | 29 cp -a $_pkg/etc $fs |
pankso@4053 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@4053 | 31 cp -a $_pkg/usr/share/GNUstep $fs/usr/share |
pankso@4053 | 32 } |