wok view linuxconsoletools/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (18 months ago) |
parents | ad0bc3efbf37 |
children |
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 }