wok annotate ratpoison/receipt @ rev 11664

bluefish: Improve receipt. Thanks Justine
author Eric Joseph-Alexandre < erjo@slitaz.org>
date Thu Feb 16 13:29:02 2012 +0100 (2012-02-16)
parents
children de49f29b101e
rev   line source
gokhlayeh@8341 1 # SliTaz package receipt.
gokhlayeh@8341 2
gokhlayeh@8341 3 PACKAGE="ratpoison"
gokhlayeh@8341 4 VERSION="1.4.5"
gokhlayeh@8341 5 CATEGORY="x-window"
gokhlayeh@8341 6 SHORT_DESC="Ratpoison is an extremely light-weightWM using only keyboard."
gokhlayeh@8341 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@8341 8 DEPENDS="microperl xorg-libXtst xorg-libXinerama"
gokhlayeh@8341 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@8341 10 WEB_SITE="http://www.nongnu.org/ratpoison/"
gokhlayeh@8341 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
gokhlayeh@8341 12
gokhlayeh@8341 13 # Rules to configure and make the package.
gokhlayeh@8341 14 compile_rules()
gokhlayeh@8341 15 {
gokhlayeh@8341 16 cd $src
gokhlayeh@8341 17 ./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make install
gokhlayeh@8341 18 }
gokhlayeh@8341 19
gokhlayeh@8341 20 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8341 21 genpkg_rules()
gokhlayeh@8341 22 {
gokhlayeh@8341 23 mkdir -p $fs/usr/share
gokhlayeh@8341 24 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@8341 25 cp -a $_pkg/usr/share/ratpoison $fs/usr/share
gokhlayeh@8341 26 }
gokhlayeh@8341 27