wok annotate linuxconsoletools/receipt @ rev 25056
linux-wireless: add r8192ee.ko & rtl8821ae.ko
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 10:49:51 2022 +0000 (2022-06-06) |
parents | 65d7d867e0c1 |
children | fbe88431f963 |
rev | line source |
---|---|
pascal@14174 | 1 # SliTaz package receipt. |
pascal@14174 | 2 |
pascal@14174 | 3 PACKAGE="linuxconsoletools" |
Hans-G?nter@24858 | 4 VERSION="1.7.1" |
pascal@14174 | 5 CATEGORY="system-tools" |
pascal@14174 | 6 SHORT_DESC="Configure joysticks, or connect legacy input devices." |
pascal@14174 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
Hans-G?nter@21364 | 9 WEB_SITE="https://sourceforge.net/projects/linuxconsole/" |
Hans-G?nter@21364 | 10 |
pascal@14174 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14174 | 12 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL" |
pascal@14174 | 13 |
Hans-G?nter@23136 | 14 DEPENDS="gcc83-lib-base libsdl2" |
Hans-G?nter@23136 | 15 BUILD_DEPENDS="gcc83 libsdl2-dev" |
pascal@14174 | 16 |
pascal@24411 | 17 # What is the latest version available today? |
pascal@24411 | 18 current_version() |
pascal@24411 | 19 { |
pascal@24411 | 20 wget -O - https://sourceforge.net/projects/linuxconsole/files/ 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/linuxconsoletools-||;s|.tar.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
pascal@14174 | 24 # Rules to configure and make the package. |
pascal@14174 | 25 compile_rules() |
pascal@14174 | 26 { |
pascal@14174 | 27 export PREFIX=/usr |
Hans-G?nter@23136 | 28 |
Hans-G?nter@23136 | 29 make \ |
Hans-G?nter@23136 | 30 CC=gcc-83 \ |
Hans-G?nter@23136 | 31 CXX=g++-83 && |
Hans-G?nter@24858 | 32 make install \ |
Hans-G?nter@24858 | 33 DESTDIR=$DESTDIR |
pascal@14174 | 34 } |
pascal@14174 | 35 |
pascal@14174 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14174 | 37 genpkg_rules() |
pascal@14174 | 38 { |
Hans-G?nter@24858 | 39 cook_copy_folders bin |
Hans-G?nter@24858 | 40 cook_copy_folders joystick |
pascal@14174 | 41 } |