wok-6.x view obconf/receipt @ rev 15281
qemacs: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 13:36:58 2013 +0000 (2013-09-26) |
parents | 1dbb923ab613 |
children | e0611ce967ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="obconf"
4 VERSION="2.0.3"
5 GITTAG="500163e2c74cbbded0361574fd14d0a1168c1119"
6 CATEGORY="x-window"
7 SHORT_DESC="Openbox WM configuration interface."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION-$GITTAG.tar.gz"
11 WEB_SITE="http://icculus.org/openbox/"
12 WGET_URL="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=$GITTAG;sf=tgz"
13 TAGS="openbox"
15 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
16 startup-notification slitaz-boot-scripts"
17 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \
18 startup-notification-dev git autoconf automake"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11 -lobt -lobrender"
25 autoreconf -f -i &&
26 ./configure CFLAGS="-I/usr/include/openbox/3.5" $CONFIGURE_ARGS &&
27 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
35 cp -a $stuff/obconf.desktop $fs/usr/share/applications
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/obconf $fs/usr/share
38 cp -a stuff/mime $fs/usr/share
39 touch $fs/usr/share/mime/x-openbox-theme.xml
40 touch $fs/usr/share/mime/x-vbscript.xml
41 touch $fs/usr/share/mime/x-ms-win-installer.xml
42 }
44 # Update mime database.
45 post_install()
46 {
47 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
48 }