wok-next annotate guile/receipt @ rev 8565
imported patch get/tyrian
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | cf3282837399 |
children | 0b4cf0d9e1b5 |
rev | line source |
---|---|
pankso@4044 | 1 # SliTaz package receipt. |
pankso@4044 | 2 |
pankso@4044 | 3 PACKAGE="guile" |
slaxemulator@8444 | 4 VERSION="1.8.8" |
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" |
pascal@5001 | 9 DEPENDS="gmp libtool readline ncurses" |
pankso@4044 | 10 WEB_SITE="http://www.gnu.org/software/guile/" |
pankso@4044 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@4044 | 12 |
pankso@4044 | 13 # Rules to configure and make the package. |
pankso@4044 | 14 compile_rules() |
pankso@4044 | 15 { |
pankso@4044 | 16 cd $src |
erjo@5889 | 17 |
erjo@5889 | 18 # http://bugs.gentoo.org/show_bug.cgi?id=317175 |
erjo@5889 | 19 patch -p1 < ../stuff/guile-1.8.7-gcc45.u || exit 1 |
erjo@5889 | 20 |
pankso@4044 | 21 ./configure \ |
pankso@4044 | 22 --prefix=/usr \ |
pankso@4044 | 23 --infodir=/usr/share/info \ |
pankso@4044 | 24 --mandir=/usr/share/man \ |
pankso@4044 | 25 $CONFIGURE_ARGS && |
pankso@4044 | 26 make && |
pankso@4044 | 27 make DESTDIR=$PWD/_pkg install |
pankso@4044 | 28 } |
pankso@4044 | 29 |
pankso@4044 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4044 | 31 genpkg_rules() |
pankso@4044 | 32 { |
pankso@4044 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@4044 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@4044 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4044 | 36 cp -a $_pkg/usr/share/guile $fs/usr/share |
pankso@4044 | 37 } |