wok annotate tcllib/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (22 months ago)
parents 5f6c5106b1f5
children ad0bc3efbf37
rev   line source
paul@3687 1 # SliTaz package receipt.
paul@3687 2
paul@3687 3 PACKAGE="tcllib"
Hans-G?nter@25348 4 VERSION="1.21"
paul@3687 5 CATEGORY="development"
paul@3687 6 SHORT_DESC="Tcl-only library of standard routines for Tcl."
paul@3687 7 MAINTAINER="paul@slitaz.org"
pascal@15600 8 LICENSE="BSD"
Hans-G?nter@22012 9 WEB_SITE="https://sourceforge.net/projects/tcllib/"
Hans-G?nter@22012 10
paul@3687 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3687 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@3687 13
pascal@15600 14 DEPENDS="tcl"
pascal@15600 15 BUILD_DEPENDS="tcl"
pascal@15600 16
Hans-G?nter@22012 17 HOST_ARCH="i486 arm"
Hans-G?nter@22012 18
pascal@24340 19 # What is the latest version available today?
pascal@24340 20 current_version()
pascal@24340 21 {
pascal@24340 22 wget -O - https://sourceforge.net/projects/tcllib/files/tcllib/ 2>/dev/null | \
pascal@24340 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 24 sed '/scope="row/!d;s|.*/tcllib/||;s|/.*||;q'
pascal@24340 25 }
pascal@24340 26
paul@3687 27 # Rules to configure and make the package.
paul@3687 28 compile_rules()
paul@3687 29 {
Hans-G?nter@22012 30 ./configure \
Hans-G?nter@22012 31 --prefix=/usr \
paul@3687 32 $CONFIGURE_ARGS &&
Hans-G?nter@25348 33 make install DESTDIR=$DESTDIR
paul@3687 34 }
paul@3687 35
paul@3687 36 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3687 37 genpkg_rules()
paul@3687 38 {
Hans-G?nter@25348 39 cook_copy_folders bin
Hans-G?nter@25348 40 cook_copy_folders lib
paul@3687 41 }