# SliTaz package receipt. PACKAGE="jwm" VERSION="2.1.0" CATEGORY="x-window" SHORT_DESC="JWM is a light Window Manager for the X window system." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.joewing.net/programs/jwm/" WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" CONFIG_FILES="/etc/jwm/system.jwmrc" TAGS="wm window-manager" DEPENDS="xorg slitaz-configs" BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev" # Rules to configure and make the package. compile_rules() { cd $src [ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u touch done.resize-backgound.u ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc/jwm \ --disable-fribidi \ $CONFIGURE_ARGS && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/etc/jwm cp -a $src/src/jwm $fs/usr/bin # Simple and default config file. cp $stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc cp $stuff/slitaz.jwmrc $fs/etc/jwm/system.jwmrc }