wok-4.x view jwm/receipt @ rev 12297

imagemagick: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 28 13:52:26 2012 +0200 (2012-05-28)
parents d1768332cee0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="jwm"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="JWM is a light Window Manager for the X window system."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.joewing.net/programs/jwm/"
10 WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL"
11 CONFIG_FILES="/etc/jwm/system.jwmrc"
12 TAGS="wm window-manager"
14 DEPENDS="xorg slitaz-configs"
15 BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 [ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u
22 touch done.resize-backgound.u
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --sysconfdir=/etc/jwm \
27 --disable-fribidi \
28 $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/etc/jwm
36 cp -a $src/src/jwm $fs/usr/bin
37 # Simple and default config file.
38 cp $stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc
39 cp $stuff/slitaz.jwmrc $fs/etc/jwm/system.jwmrc
40 }