wok-current view linuxconsoletools/receipt @ rev 24742
updated libffcall (2.2 -> 2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:31:26 2022 +0100 (2022-03-16) |
parents | 577b0f540d17 |
children | d4bdd9ac943a |
line source
1 # SliTaz package receipt.
3 PACKAGE="linuxconsoletools"
4 VERSION="1.7.0"
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;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 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/joystick $fs/usr/share
42 }