wok view obconf/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | 652cfc895b1a |
children | 9df3bbf503c6 |
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 xorg-libXdamage"
9 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://icculus.org/openbox/"
12 WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
13 TAGS="openbox"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/obconf $fs/usr/share
33 cp -a stuff/mime $fs/usr/share
34 touch $fs/usr/share/mime/x-openbox-theme.xml
35 touch $fs/usr/share/mime/x-vbscript.xml
36 touch $fs/usr/share/mime/x-ms-win-installer.xml
37 # Locale
38 for i in $LOCALE
39 do
40 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
41 cp $src/po/$i.gmo \
42 $fs/usr/share/locale/$i/LC_MESSAGES/obconf.mo
43 done
44 }
46 # Update mime database.
47 post_install()
48 {
49 local root
50 root=$1
51 update-mime-database $root/usr/share/mime || continue
52 }