wok diff obconf/receipt @ rev 15870
linux: fix stupid typo! Now linux64 and linux without modules will build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 31 19:46:06 2014 +0100 (2014-01-31) |
parents | 380ffe05937a |
children | 96b359f7ade5 |
line diff
1.1 --- a/obconf/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/obconf/receipt Fri Jan 31 19:46:06 2014 +0100 1.3 @@ -1,29 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="obconf" 1.7 -VERSION="2.0.3" 1.8 -GITTAG="500163e2c74cbbded0361574fd14d0a1168c1119" 1.9 +VERSION="2.0.4" 1.10 CATEGORY="x-window" 1.11 SHORT_DESC="Openbox WM configuration interface." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$PACKAGE-$VERSION-$GITTAG.tar.gz" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="http://icculus.org/openbox/" 1.17 -WGET_URL="http://git.openbox.org/?p=dana/obconf.git;a=snapshot;h=$GITTAG;sf=tgz" 1.18 +WGET_URL="http://openbox.org/dist/obconf/$TARBALL" 1.19 TAGS="openbox" 1.20 1.21 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \ 1.22 startup-notification slitaz-boot-scripts" 1.23 BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \ 1.24 -startup-notification-dev git autoconf automake" 1.25 +gdk-pixbuf-dev startup-notification-dev" 1.26 1.27 +# 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 cd $src 1.32 - export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11 -lobt -lobrender" 1.33 - autoreconf -f -i && 1.34 - ./configure CFLAGS="-I/usr/include/openbox/3.5" $CONFIGURE_ARGS && 1.35 + ./configure $CONFIGURE_ARGS && 1.36 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && 1.37 make && make install 1.38 } 1.39 @@ -45,4 +43,12 @@ 1.40 post_install() 1.41 { 1.42 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.43 + chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications 1.44 } 1.45 + 1.46 +# Update mime database. 1.47 +post_remove() 1.48 +{ 1.49 + chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.50 + chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications 1.51 +}