wok annotate jwm/receipt @ rev 25
Add : jwm and example config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:52:06 2007 +0100 (2007-12-18) |
parents | |
children | 3a78a8b2ea89 |
rev | line source |
---|---|
pankso@25 | 1 # SliTaz package receipt. |
pankso@25 | 2 |
pankso@25 | 3 PACKAGE="jwm" |
pankso@25 | 4 VERSION="2.0.1" |
pankso@25 | 5 CATEGORY="x-window" |
pankso@25 | 6 SHORT_DESC="JWM is a light Window Manager for the X window system." |
pankso@25 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@25 | 8 DEPENDS="xorg" |
pankso@25 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@25 | 10 WEB_SITE="http://www.joewing.net/programs/jwm/" |
pankso@25 | 11 WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" |
pankso@25 | 12 |
pankso@25 | 13 # Rules to configure and make the package. |
pankso@25 | 14 compile_rules() |
pankso@25 | 15 { |
pankso@25 | 16 cd $src |
pankso@25 | 17 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@25 | 18 --sysconfdir=/etc/jwm $CONFIGURE_ARGS |
pankso@25 | 19 make |
pankso@25 | 20 } |
pankso@25 | 21 |
pankso@25 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@25 | 23 genpkg_rules() |
pankso@25 | 24 { |
pankso@25 | 25 mkdir -p $fs/usr/bin |
pankso@25 | 26 mkdir -p $fs/etc/jwm |
pankso@25 | 27 cp -a $src/src/jwm $fs/usr/bin |
pankso@25 | 28 strip -s $fs/usr/bin/* |
pankso@25 | 29 # Simple config file. |
pankso@25 | 30 cp stuff/simple.jwmrc $fs/etc/jwm/system.jwmrc |
pankso@25 | 31 cp stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc |
pankso@25 | 32 } |