wok-6.x view guile/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
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 }