wok annotate guile/receipt @ rev 21473

updated mosh (1.2.5 -> 1.3.2) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 30 21:45:29 2019 +0200 (2019-04-30)
parents d1c17bd2c2bc
children 71360a13cd94
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"
pascal@15589 8 LICENSE="LGPL2.1"
pankso@4044 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15589 10 WEB_SITE="http://www.gnu.org/software/guile/"
pascal@15589 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@15589 12
erjo@8736 13 DEPENDS="gmp readline ncurses libltdl"
erjo@8736 14 BUILD_DEPENDS="libtool gmp-dev"
pankso@4044 15
pankso@4044 16 # Rules to configure and make the package.
pankso@4044 17 compile_rules()
pankso@4044 18 {
pankso@4044 19 cd $src
slaxemulator@11112 20
domcox@15735 21 # http://bugs.gentoo.org/show_bug.cgi?id=317175
slaxemulator@9700 22 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
slaxemulator@11112 23
pankso@4044 24 ./configure \
slaxemulator@11112 25 --disable-error-on-warning \
domcox@15735 26 $CONFIGURE_ARGS &&
domcox@15735 27 make &&
slaxemulator@11112 28 make DESTDIR=$DESTDIR install
pankso@4044 29 }
pankso@4044 30
pankso@4044 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4044 32 genpkg_rules()
pankso@4044 33 {
pankso@4044 34 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15589 35 cp -a $install/usr/bin $fs/usr
pascal@15589 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15589 37 cp -a $install/usr/share/guile $fs/usr/share
pankso@4044 38 }