wok-next view obconf/receipt @ rev 695
hardinfo: add boot parameters
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 26 10:28:00 2008 +0000 (2008-04-26) |
parents | 44ebb99e7d97 |
children | 7bd5e34e4a45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="obconf"
4 VERSION="2.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox WM configuration interface."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="openbox gtk+ libglade shared-mime-info"
9 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://icculus.org/openbox/"
12 WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/obconf $fs/usr/share
31 cp -a stuff/mime $fs/usr/share
32 touch $fs/usr/share/mime/x-openbox-theme.xml
33 touch $fs/usr/share/mime/x-vbscript.xml
34 touch $fs/usr/share/mime/x-ms-win-installer.xml
35 }
37 # Update mime database.
38 post_install()
39 {
40 local root
41 root=$1
42 update-mime-database $root/usr/share/mime || continue
43 }