wok annotate linuxconsoletools/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 86790a278e70 |
children | 577b0f540d17 |
rev | line source |
---|---|
pascal@14174 | 1 # SliTaz package receipt. |
pascal@14174 | 2 |
pascal@14174 | 3 PACKAGE="linuxconsoletools" |
Hans-G?nter@21364 | 4 VERSION="1.6.0" |
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 |
pascal@14174 | 14 DEPENDS="libsdl" |
pascal@14174 | 15 BUILD_DEPENDS="libsdl-dev" |
pascal@14174 | 16 |
pascal@14174 | 17 # Rules to configure and make the package. |
pascal@14174 | 18 compile_rules() |
pascal@14174 | 19 { |
pascal@14174 | 20 export PREFIX=/usr |
Hans-G?nter@21364 | 21 make -j 1 && |
pascal@14174 | 22 make DESTDIR=$DESTDIR install |
pascal@14174 | 23 } |
pascal@14174 | 24 |
pascal@14174 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14174 | 26 genpkg_rules() |
pascal@14174 | 27 { |
pascal@14174 | 28 mkdir -p $fs/usr/share |
Hans-G?nter@21364 | 29 |
Hans-G?nter@21364 | 30 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21364 | 31 cp -a $install/usr/share/joystick $fs/usr/share |
pascal@14174 | 32 } |