wok-6.x annotate guile/receipt @ rev 15659

c_icap: do not start daemon while cooking
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 12 07:48:19 2013 +0000 (2013-12-12)
parents 5673f562e116
children 45f88b8d607c
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
slaxemulator@11112 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 \
slaxemulator@11112 26 $CONFIGURE_ARGS &&
slaxemulator@11112 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 }