wok annotate guile/receipt @ rev 11578

Compat: fix krb5 to build with tazwok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:19 2012 +0100 (2012-01-02)
parents d1768332cee0
children d1c17bd2c2bc
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"
erjo@8736 9 DEPENDS="gmp readline ncurses libltdl"
erjo@8736 10 BUILD_DEPENDS="libtool gmp-dev"
pankso@4044 11 WEB_SITE="http://www.gnu.org/software/guile/"
pankso@4044 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@4044 13
pankso@4044 14 # Rules to configure and make the package.
pankso@4044 15 compile_rules()
pankso@4044 16 {
pankso@4044 17 cd $src
slaxemulator@11112 18
slaxemulator@11112 19 # http://bugs.gentoo.org/show_bug.cgi?id=317175
slaxemulator@9700 20 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
slaxemulator@11112 21
pankso@4044 22 ./configure \
slaxemulator@11112 23 --disable-error-on-warning \
slaxemulator@11112 24 $CONFIGURE_ARGS &&
slaxemulator@11112 25 make &&
slaxemulator@11112 26 make DESTDIR=$DESTDIR install
pankso@4044 27 }
pankso@4044 28
pankso@4044 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4044 30 genpkg_rules()
pankso@4044 31 {
pankso@4044 32 mkdir -p $fs/usr/lib $fs/usr/share
pankso@4044 33 cp -a $_pkg/usr/bin $fs/usr
pankso@4044 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4044 35 cp -a $_pkg/usr/share/guile $fs/usr/share
pankso@4044 36 }