wok view guile/receipt @ rev 25500
new default version for java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 30 10:14:12 2022 +0100 (22 months ago) |
parents | 45f88b8d607c |
children | d79ed38ace18 |
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 - ${WGET_URL%/*} 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 }