# HG changeset patch # User Antoine Bodin # Date 1296620666 -3600 # Node ID 609cb34ed0ce6fa98bdf3ec21598f64f56039816 # Parent 0f09a0325bbf6b48953c5a73201cb54699981e85 Add: ratpoison 1.4.5 diff -r 0f09a0325bbf -r 609cb34ed0ce ratpoison/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ratpoison/receipt Wed Feb 02 05:24:26 2011 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="ratpoison" +VERSION="1.4.5" +CATEGORY="x-window" +SHORT_DESC="Ratpoison is an extremely light-weightWM using only keyboard." +MAINTAINER="gokhlayeh@slitaz.org" +DEPENDS="microperl xorg-libXtst xorg-libXinerama" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.nongnu.org/ratpoison/" +WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/ratpoison $fs/usr/share +} +