wok-current view softgun/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (9 months ago)
parents e919c5a2742d
children
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 }