wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="smake"
4 VERSION="1.2.5"
5 CATEGORY="development"
6 SHORT_DESC="Generate executables and other files from source."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 CDDL"
9 WEB_SITE="https://sourceforge.net/projects/s-make/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://downloads.sourceforge.net/s-make/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/s-make/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/smake-/!d;s|.*/smake-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make INS_BASE=/usr MANDIR=share/man DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }