wok annotate obconf/receipt @ rev 12471
Up: glib (2.32.1) Ok no move to gtk3
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 12:51:42 2012 +0200 (2012-04-23) |
parents | af9a1b47948c |
children | f9e6074a57e6 |
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 { |
pascal@11623 | 30 mkdir -p $fs/usr/share/applications |
pascal@11623 | 31 cp -a $stuff/obconf.desktop $fs/usr/share/applications |
pankso@357 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@357 | 33 cp -a $_pkg/usr/share/obconf $fs/usr/share |
pankso@677 | 34 cp -a stuff/mime $fs/usr/share |
pascal@691 | 35 touch $fs/usr/share/mime/x-openbox-theme.xml |
pascal@691 | 36 touch $fs/usr/share/mime/x-vbscript.xml |
pascal@691 | 37 touch $fs/usr/share/mime/x-ms-win-installer.xml |
pankso@357 | 38 } |
pankso@677 | 39 |
pankso@677 | 40 # Update mime database. |
pankso@677 | 41 post_install() |
pankso@677 | 42 { |
pascal@12196 | 43 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime |
pankso@677 | 44 } |