wok-current annotate obconf/receipt @ rev 9856
obconf: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 15:29:31 2011 +0200 (2011-05-16) |
parents | 6ec17b55b59a |
children | 6c5c55855491 |
rev | line source |
---|---|
pankso@357 | 1 # SliTaz package receipt. |
pankso@357 | 2 |
pankso@357 | 3 PACKAGE="obconf" |
pankso@357 | 4 VERSION="2.0.3" |
pankso@357 | 5 CATEGORY="x-window" |
pankso@357 | 6 SHORT_DESC="Openbox WM configuration interface." |
pankso@357 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@357 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@357 | 9 WEB_SITE="http://icculus.org/openbox/" |
pankso@357 | 10 WGET_URL="http://icculus.org/openbox/obconf/$TARBALL" |
jozee@4970 | 11 TAGS="openbox" |
pankso@357 | 12 |
pankso@9856 | 13 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \ |
pankso@9856 | 14 libstartup-notification" |
pankso@9856 | 15 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \ |
pankso@9856 | 16 libstartup-notification-dev" |
pankso@9856 | 17 |
pankso@357 | 18 # Rules to configure and make the package. |
pankso@357 | 19 compile_rules() |
pankso@357 | 20 { |
pankso@357 | 21 cd $src |
pankso@9856 | 22 ./configure && |
pascal@1566 | 23 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && |
pankso@9856 | 24 make && make install |
pankso@357 | 25 } |
pankso@357 | 26 |
pankso@357 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@357 | 28 genpkg_rules() |
pankso@357 | 29 { |
pankso@357 | 30 mkdir -p $fs/usr/share |
pankso@357 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@357 | 32 cp -a $_pkg/usr/share/obconf $fs/usr/share |
pankso@677 | 33 cp -a stuff/mime $fs/usr/share |
pascal@691 | 34 touch $fs/usr/share/mime/x-openbox-theme.xml |
pascal@691 | 35 touch $fs/usr/share/mime/x-vbscript.xml |
pascal@691 | 36 touch $fs/usr/share/mime/x-ms-win-installer.xml |
pankso@357 | 37 } |
pankso@677 | 38 |
pankso@677 | 39 # Update mime database. |
pankso@677 | 40 post_install() |
pankso@677 | 41 { |
pankso@677 | 42 local root |
pankso@677 | 43 root=$1 |
pankso@677 | 44 update-mime-database $root/usr/share/mime || continue |
pankso@677 | 45 } |