wok-6.x view linuxconsoletools/receipt @ rev 20274

linux: recook
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 18 21:05:50 2018 +0100 (2018-03-18)
parents c5239efc01ff
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="linuxconsoletools"
4 VERSION="1.4.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Configure joysticks, or connect legacy input devices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sourceforge.net/projects/linuxconsole/"
11 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL"
13 DEPENDS="libsdl"
14 BUILD_DEPENDS="libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export PREFIX=/usr
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/joystick $fs/usr/share
31 }