wok annotate obconf/receipt @ rev 11734
Up: usbmuxd to 1.0.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 21 15:12:22 2012 -0500 (2012-02-21) |
parents | b7319995b37e |
children | 0a6b5118575a |
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 { |
pankso@677 | 43 local root |
pankso@677 | 44 root=$1 |
pankso@677 | 45 update-mime-database $root/usr/share/mime || continue |
pankso@677 | 46 } |