wok annotate guile/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (16 months ago)
parents 45f88b8d607c
children d79ed38ace18
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
pascal@24336 16 # What is the latest version available today?
pascal@24336 17 current_version()
pascal@24336 18 {
pascal@24336 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 20 sed "/oops/d;/www/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 21 }
pascal@24336 22
pankso@4044 23 # Rules to configure and make the package.
pankso@4044 24 compile_rules()
pankso@4044 25 {
pankso@4044 26 cd $src
slaxemulator@11112 27
domcox@15735 28 # http://bugs.gentoo.org/show_bug.cgi?id=317175
slaxemulator@9700 29 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
slaxemulator@11112 30
pankso@4044 31 ./configure \
slaxemulator@11112 32 --disable-error-on-warning \
domcox@15735 33 $CONFIGURE_ARGS &&
domcox@15735 34 make &&
slaxemulator@11112 35 make DESTDIR=$DESTDIR install
pankso@4044 36 }
pankso@4044 37
pankso@4044 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4044 39 genpkg_rules()
pankso@4044 40 {
pankso@4044 41 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15589 42 cp -a $install/usr/bin $fs/usr
pascal@15589 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15589 44 cp -a $install/usr/share/guile $fs/usr/share
pankso@4044 45 }