wok-next view obconf/receipt @ rev 677

obconf: update-mime-info and set name
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 21:03:14 2008 +0200 (2008-04-24)
parents a7bd0e5069b6
children 44ebb99e7d97
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 tar"
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 }
34 # Update mime database.
35 post_install()
36 {
37 local root
38 root=$1
39 update-mime-database $root/usr/share/mime || continue
40 }