wok-4.x view obconf/receipt @ rev 12347
gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 22 01:17:33 2012 +0000 (2012-10-22) |
parents | af9a1b47948c |
children |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://icculus.org/openbox/"
10 WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
11 TAGS="openbox"
13 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
14 startup-notification"
15 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \
16 startup-notification-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure $CONFIGURE_ARGS &&
23 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/applications
31 cp -a $stuff/obconf.desktop $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/obconf $fs/usr/share
34 cp -a stuff/mime $fs/usr/share
35 touch $fs/usr/share/mime/x-openbox-theme.xml
36 touch $fs/usr/share/mime/x-vbscript.xml
37 touch $fs/usr/share/mime/x-ms-win-installer.xml
38 }
40 # Update mime database.
41 post_install()
42 {
43 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
44 }