wok annotate smake/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | ac1c9eae60aa |
children | 8ea0030e77cb |
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" |
Hans-G?nter@21918 | 12 WGET_URL="hhtps://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 } |