# HG changeset patch # User Pascal Bellard # Date 1362830934 -3600 # Node ID c5239efc01ffcdb01ace35c79d7d40d24a45c3ff # Parent 98b8730123735585c1d8079eda36bbd9bcf0bfb9 Add linuxconsoletools diff -r 98b873012373 -r c5239efc01ff linuxconsoletools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linuxconsoletools/receipt Sat Mar 09 13:08:54 2013 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="linuxconsoletools" +VERSION="1.4.5" +CATEGORY="system-tools" +SHORT_DESC="Configure joysticks, or connect legacy input devices." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://sourceforge.net/projects/linuxconsole/" +WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL" + +DEPENDS="libsdl" +BUILD_DEPENDS="libsdl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + export PREFIX=/usr + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/joystick $fs/usr/share +}