wok view softgun/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents e919c5a2742d
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="softgun"
4 VERSION="0.20"
5 CATEGORY="development"
6 SHORT_DESC="ARM software emulator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://softgun.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator arm"
14 DEPENDS="alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/softgun/files/softgun/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/softgun-||;s|.tgz.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 mkdir -p $DESTDIR/usr/bin
30 make && make prefix=$DESTDIR/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p \
37 $fs/usr/share/softgun \
38 $fs/usr/share/doc/sotfgun
39 cp -a $install/usr/bin $fs/usr
40 cp -a $src/configs $fs/usr/share/softgun
41 cp $src/README $fs/usr/share/doc/sotfgun
42 }