wok-current rev 3150
Add: desktop-file-utils (Update 'Open with' in PCmanFM and other freedesktop standard apps)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 00:20:59 2009 +0200 (2009-05-24) |
parents | c88d253cc8bb |
children | f26732c0cdb2 |
files | desktop-file-utils-extra/receipt desktop-file-utils/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/desktop-file-utils-extra/receipt Sun May 24 00:20:59 2009 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="desktop-file-utils-extra" 1.7 +VERSION="0.15" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Extra desktop file utils (install and validate)." 1.10 +WANTED="desktop-file-utils" 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/bin 1.18 + cp $_pkg/usr/bin/desktop-file-* $fs/usr/bin 1.19 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/desktop-file-utils/receipt Sun May 24 00:20:59 2009 +0200 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="desktop-file-utils" 2.7 +VERSION="0.15" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)." 2.10 +DEPENDS="" 2.11 +BUILD_DEPENDS="" 2.12 +MAINTAINER="pankso@slitaz.org" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils" 2.15 +WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + $CONFIGURE_ARGS && 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/bin 2.31 + cp $_pkg/usr/bin/update-desktop-database $fs/usr/bin 2.32 +}