wok annotate jwm/receipt @ rev 90
Compile JWM without fribidi supprot
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 03 10:21:35 2008 +0100 (2008-01-03) |
parents | 0a7773e78e1d |
children | fb4b753f4f90 |
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@90 | 16 cd $src |
pankso@90 | 17 ./configure \ |
pankso@90 | 18 --prefix=/usr \ |
pankso@90 | 19 --mandir=/usr/share/man \ |
pankso@90 | 20 --sysconfdir=/etc/jwm \ |
pankso@90 | 21 --disable-fribidi \ |
pankso@90 | 22 $CONFIGURE_ARGS |
pankso@90 | 23 make |
pankso@25 | 24 } |
pankso@25 | 25 |
pankso@25 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@25 | 27 genpkg_rules() |
pankso@25 | 28 { |
pankso@25 | 29 mkdir -p $fs/usr/bin |
pankso@25 | 30 mkdir -p $fs/etc/jwm |
pankso@25 | 31 cp -a $src/src/jwm $fs/usr/bin |
pankso@25 | 32 strip -s $fs/usr/bin/* |
pankso@25 | 33 # Simple config file. |
pankso@25 | 34 cp stuff/simple.jwmrc $fs/etc/jwm/system.jwmrc |
pankso@25 | 35 cp stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc |
pankso@25 | 36 } |