wok-next view obconf/receipt @ rev 15909

Up: lxpanel (0.6.1) and remove dep on libwnck --> lxpanel-extra (save space on core ISO)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 15 13:07:07 2014 +0100 (2014-02-15)
parents e0611ce967ea
children 62b66edb40b5
line source
1 # SliTaz package receipt.
3 PACKAGE="obconf"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox WM configuration interface."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://icculus.org/openbox/"
11 WGET_URL="http://openbox.org/dist/obconf/$TARBALL"
12 TAGS="openbox"
14 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
15 startup-notification slitaz-boot-scripts desktop-file-utils"
16 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \
17 gdk-pixbuf-dev startup-notification-dev"
19 #
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure $CONFIGURE_ARGS &&
25 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/applications
33 cp -a $stuff/obconf.desktop $fs/usr/share/applications
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/obconf $fs/usr/share
36 cp -a stuff/mime $fs/usr/share
37 touch $fs/usr/share/mime/x-openbox-theme.xml
38 touch $fs/usr/share/mime/x-vbscript.xml
39 touch $fs/usr/share/mime/x-ms-win-installer.xml
40 }
42 # Update mime database.
43 post_install()
44 {
45 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
46 chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications
47 }
49 # Update mime database.
50 post_remove()
51 {
52 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
53 chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications
54 }