wok-next annotate jwm/receipt @ rev 12078
dia: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 09 10:58:46 2012 +0100 (2012-03-09) |
parents | d1768332cee0 |
children | 8e410d8c4dd2 |
rev | line source |
---|---|
pankso@25 | 1 # SliTaz package receipt. |
pankso@25 | 2 |
pankso@25 | 3 PACKAGE="jwm" |
pankso@12019 | 4 VERSION="2.1.0" |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@25 | 9 WEB_SITE="http://www.joewing.net/programs/jwm/" |
pankso@25 | 10 WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" |
pankso@12019 | 11 CONFIG_FILES="/etc/jwm/system.jwmrc" |
jozee@4941 | 12 TAGS="wm window-manager" |
pankso@25 | 13 |
pankso@12019 | 14 DEPENDS="xorg slitaz-configs" |
pankso@12019 | 15 BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev" |
pankso@12019 | 16 |
pankso@25 | 17 # Rules to configure and make the package. |
pankso@25 | 18 compile_rules() |
pankso@25 | 19 { |
pankso@90 | 20 cd $src |
slaxemulator@9700 | 21 [ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u |
pascal@1553 | 22 touch done.resize-backgound.u |
pankso@90 | 23 ./configure \ |
pankso@90 | 24 --prefix=/usr \ |
pankso@90 | 25 --mandir=/usr/share/man \ |
pankso@90 | 26 --sysconfdir=/etc/jwm \ |
pankso@90 | 27 --disable-fribidi \ |
pascal@1553 | 28 $CONFIGURE_ARGS && |
pankso@90 | 29 make |
pankso@25 | 30 } |
pankso@25 | 31 |
pankso@25 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@25 | 33 genpkg_rules() |
pankso@25 | 34 { |
pankso@272 | 35 mkdir -p $fs/usr/bin $fs/etc/jwm |
pankso@272 | 36 cp -a $src/src/jwm $fs/usr/bin |
pankso@12019 | 37 # Simple and default config file. |
pankso@12019 | 38 cp $stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc |
pankso@12019 | 39 cp $stuff/slitaz.jwmrc $fs/etc/jwm/system.jwmrc |
pankso@25 | 40 } |