wok view guile/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 71360a13cd94
children
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
20 sed "/oops/d;/www/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 # http://bugs.gentoo.org/show_bug.cgi?id=317175
29 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
31 ./configure \
32 --disable-error-on-warning \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/share/guile $fs/usr/share
45 }