wok-current view softgun/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 3b4e4318134e
children 7dd01dedad38
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="http://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 }