wok-current view fluxbox/receipt @ rev 8143
aufs: aufs_type.h file will be install in aufs instead of linux-module-headers. It needed to be in /usr/include/linux folder anyways.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 25 00:03:50 2011 +0000 (2011-01-25) |
parents | 9f19aee613be |
children | 0b026b4ca46c |
line source
1 # SliTaz package receipt.
3 PACKAGE="fluxbox"
4 VERSION="1.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Fluxbox is a windowmanager for X. It is very light on resources and easy to handle but yet full of features."
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="fontconfig imlib2 xorg-libICE xorg-libSM xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXinerama \
10 xorg-libXpm xorg-libXrandr xorg-libXrender gcc-lib-base"
11 BUILD_DEPENDS="xorg-dev xorg-dev-proto"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.fluxbox.org/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 TAGS="wm window-manager"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -p1 < ../stuff/fluxbox-gcc-4.3.3.diff
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share $fs/usr
36 }
38 post_install()
39 {
40 res=`cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//`
41 # Adding WM to SLIM available sessions.
42 if ! echo "$res" | grep -q $PACKAGE; then
43 echo -n "Adding $PACKAGE to /etc/slim.conf..."
44 sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" /etc/slim.conf
45 status
46 fi
47 }
49 post_remove()
50 {
51 # Remove WM from SLIM available sessions.
52 if grep -q $PACKAGE $1/etc/slim.conf; then
53 sed -i s/,$PACKAGE// $1/etc/slim.conf
54 fi
55 }