wok-current annotate smake/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 3105f866bc3e
children ad0bc3efbf37
rev   line source
pascal@15296 1 # SliTaz package receipt.
pascal@15296 2
pascal@15296 3 PACKAGE="smake"
Hans-G?nter@21918 4 VERSION="1.2.5"
pascal@15296 5 CATEGORY="development"
pascal@15296 6 SHORT_DESC="Generate executables and other files from source."
pascal@15296 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15296 8 LICENSE="GPL2 LGPL2.1 CDDL"
Hans-G?nter@21918 9 WEB_SITE="https://sourceforge.net/projects/s-make/"
Hans-G?nter@21918 10
pascal@15296 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25438 12 WGET_URL="https://downloads.sourceforge.net/s-make/$TARBALL"
pascal@15296 13
pascal@15296 14 DEPENDS=""
pascal@15296 15 BUILD_DEPENDS=""
pascal@15296 16
pascal@24353 17 # What is the latest version available today?
pascal@24353 18 current_version()
pascal@24353 19 {
pascal@24353 20 wget -O - https://sourceforge.net/projects/s-make/files/ 2>/dev/null | \
pascal@24353 21 sed '/scope="row/!d;/smake-/!d;s|.*/smake-||;s|.tar.*||;q'
pascal@24353 22 }
pascal@24353 23
pascal@15296 24 # Rules to configure and make the package.
pascal@15296 25 compile_rules()
pascal@15296 26 {
pascal@19294 27 make INS_BASE=/usr MANDIR=share/man DESTDIR=$DESTDIR install
pascal@15296 28 }
pascal@15296 29
pascal@15296 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15296 31 genpkg_rules()
pascal@15296 32 {
pascal@15296 33 mkdir -p $fs/usr
pascal@15296 34 cp -a $install/usr/bin $fs/usr
pascal@15296 35 }