wok annotate linuxconsoletools/receipt @ rev 16518
Up: tazbug (1.2) - Bunch of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 25 14:27:16 2014 +0200 (2014-04-25) |
parents | c5239efc01ff |
children | 86790a278e70 |
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@14657 | 8 LICENSE="GPL2" |
pascal@14174 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14174 | 10 WEB_SITE="http://sourceforge.net/projects/linuxconsole/" |
pascal@14174 | 11 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL" |
pascal@14174 | 12 |
pascal@14174 | 13 DEPENDS="libsdl" |
pascal@14174 | 14 BUILD_DEPENDS="libsdl-dev" |
pascal@14174 | 15 |
pascal@14174 | 16 # Rules to configure and make the package. |
pascal@14174 | 17 compile_rules() |
pascal@14174 | 18 { |
pascal@14174 | 19 cd $src |
pascal@14174 | 20 export PREFIX=/usr |
pascal@14174 | 21 make && |
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 |
pascal@14174 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14174 | 30 cp -a $install/usr/share/joystick $fs/usr/share |
pascal@14174 | 31 } |