wok view linuxconsoletools/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (19 months ago)
parents fbe88431f963
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="linuxconsoletools"
4 VERSION="1.7.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Configure joysticks, or connect legacy input devices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/linuxconsole"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL"
14 DEPENDS="gcc83-lib-base libsdl2"
15 BUILD_DEPENDS="gcc83 libsdl2-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/linuxconsole/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/linuxconsoletools-/!d;s|.*/linuxconsoletools-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export PREFIX=/usr
29 make \
30 CC=gcc-83 \
31 CXX=g++-83 &&
32 make install \
33 DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders joystick
41 }