wok view guile/receipt @ rev 18422
naim: rece condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:28:06 2015 +0200 (2015-09-21) |
parents | d1c17bd2c2bc |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="guile"
4 VERSION="1.8.8"
5 CATEGORY="development"
6 SHORT_DESC="Project GNU's extension language."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/guile/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gmp readline ncurses libltdl"
14 BUILD_DEPENDS="libtool gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # http://bugs.gentoo.org/show_bug.cgi?id=317175
22 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
24 ./configure \
25 --disable-error-on-warning \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/guile $fs/usr/share
38 }