wok diff dfm/receipt @ rev 14451

Up: i3, i3-man (4.5.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:43:29 2013 +0200 (2013-04-27)
parents
children 01010da01a4a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dfm/receipt	Sat Apr 27 02:43:29 2013 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dfm"
     1.7 +VERSION="0.5"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Dino - Simple Qt based File Manager for GNU/Linux"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPLv3"
    1.12 +WEB_SITE="http://dfm.sf.net/"
    1.13 +TARBALL="Dino_src-$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/dfm/files/src/$TARBALL"
    1.15 +
    1.16 +DEPENDS="bzlib libQtGui libQtNetwork"
    1.17 +BUILD_DEPENDS="qmake Qt4-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	qmake Dino.pro &&
    1.23 +	make &&
    1.24 +	lrelease Dino.pro
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p \
    1.31 +		$fs/usr/bin \
    1.32 +		$fs/usr/share/Dino/bin/translations \
    1.33 +		$fs/usr/share/applications
    1.34 +	install -m755 $src/Dino $fs/usr/share/Dino/bin
    1.35 +	install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
    1.36 +	install -m644 $src/dino.png $fs/usr/share/Dino
    1.37 +	ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
    1.38 +	install -m644 $src/dino.desktop $fs/usr/share/applications
    1.39 +}