wok-4.x annotate guile/receipt @ rev 4044
Add guile (extension language)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 08 22:58:40 2009 +0200 (2009-09-08) |
parents | |
children | 9f19aee613be |
rev | line source |
---|---|
pankso@4044 | 1 # SliTaz package receipt. |
pankso@4044 | 2 |
pankso@4044 | 3 PACKAGE="guile" |
pankso@4044 | 4 VERSION="1.8.7" |
pankso@4044 | 5 CATEGORY="development" |
pankso@4044 | 6 SHORT_DESC="Project GNU's extension language." |
pankso@4044 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4044 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4044 | 9 WEB_SITE="http://www.gnu.org/software/guile/" |
pankso@4044 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@4044 | 11 |
pankso@4044 | 12 # Rules to configure and make the package. |
pankso@4044 | 13 compile_rules() |
pankso@4044 | 14 { |
pankso@4044 | 15 cd $src |
pankso@4044 | 16 ./configure \ |
pankso@4044 | 17 --prefix=/usr \ |
pankso@4044 | 18 --infodir=/usr/share/info \ |
pankso@4044 | 19 --mandir=/usr/share/man \ |
pankso@4044 | 20 $CONFIGURE_ARGS && |
pankso@4044 | 21 make && |
pankso@4044 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4044 | 23 } |
pankso@4044 | 24 |
pankso@4044 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4044 | 26 genpkg_rules() |
pankso@4044 | 27 { |
pankso@4044 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@4044 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@4044 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4044 | 31 cp -a $_pkg/usr/share/guile $fs/usr/share |
pankso@4044 | 32 } |