wok-current annotate obconf/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 6c5c55855491 |
children | af9a1b47948c |
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@9857 | 14 startup-notification" |
pankso@9856 | 15 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \ |
pankso@9857 | 16 startup-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 |
gokhlayeh@11573 | 22 ./configure $CONFIGURE_ARGS && |
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 } |