# HG changeset patch # User Richard Dunbar # Date 1429310605 14400 # Node ID 28a9ec292e58180892a90a418d446f36af694eef # Parent 268f8e7093e154d90d843df0f38ee95665abf761 Add numlockx diff -r 268f8e7093e1 -r 28a9ec292e58 numlockx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numlockx/receipt Fri Apr 17 18:43:25 2015 -0400 @@ -0,0 +1,26 @@ +#SliTaz package receipt. + +PACKAGE="numlockx" +VERSION="1.2" +CATEGORY="x-window" +SHORT_DESC="Turns on the numlock key in X11" +MAINTAINER="mojo@slitaz.org" +LICENSE="MIT" +WEB_SITE="http://freecode.com/projects/numlockx" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL/be9109370447eae23f6f3f8527bb1a67/$TARBALL" + +DEPENDS="xorg-libXtst" +BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}