wok-6.x annotate linuxconsoletools/receipt @ rev 14174

Add linuxconsoletools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 09 13:08:54 2013 +0100 (2013-03-09)
parents
children ad59999b3fce
rev   line source
pascal@14174 1 # SliTaz package receipt.
pascal@14174 2
pascal@14174 3 PACKAGE="linuxconsoletools"
pascal@14174 4 VERSION="1.4.5"
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@14174 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@14174 9 WEB_SITE="http://sourceforge.net/projects/linuxconsole/"
pascal@14174 10 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL"
pascal@14174 11
pascal@14174 12 DEPENDS="libsdl"
pascal@14174 13 BUILD_DEPENDS="libsdl-dev"
pascal@14174 14
pascal@14174 15 # Rules to configure and make the package.
pascal@14174 16 compile_rules()
pascal@14174 17 {
pascal@14174 18 cd $src
pascal@14174 19 export PREFIX=/usr
pascal@14174 20 make &&
pascal@14174 21 make DESTDIR=$DESTDIR install
pascal@14174 22 }
pascal@14174 23
pascal@14174 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14174 25 genpkg_rules()
pascal@14174 26 {
pascal@14174 27 mkdir -p $fs/usr/share
pascal@14174 28 cp -a $install/usr/bin $fs/usr
pascal@14174 29 cp -a $install/usr/share/joystick $fs/usr/share
pascal@14174 30 }