wok-6.x annotate dfm/receipt @ rev 14561

thunderbird-langpack-zh_CN: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:44 2013 +0200 (2013-05-23)
parents
children 01010da01a4a
rev   line source
al@14153 1 # SliTaz package receipt.
al@14153 2
al@14153 3 PACKAGE="dfm"
al@14153 4 VERSION="0.5"
al@14153 5 CATEGORY="utilities"
al@14153 6 SHORT_DESC="Dino - Simple Qt based File Manager for GNU/Linux"
al@14153 7 MAINTAINER="al.bobylev@gmail.com"
al@14153 8 LICENSE="GPLv3"
al@14153 9 WEB_SITE="http://dfm.sf.net/"
al@14153 10 TARBALL="Dino_src-$VERSION.tar.gz"
al@14153 11 WGET_URL="$SF_MIRROR/dfm/files/src/$TARBALL"
al@14153 12
al@14153 13 DEPENDS="bzlib libQtGui libQtNetwork"
al@14153 14 BUILD_DEPENDS="qmake Qt4-dev"
al@14153 15
al@14153 16 # Rules to configure and make the package.
al@14153 17 compile_rules()
al@14153 18 {
al@14153 19 qmake Dino.pro &&
al@14153 20 make &&
al@14153 21 lrelease Dino.pro
al@14153 22 }
al@14153 23
al@14153 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14153 25 genpkg_rules()
al@14153 26 {
al@14153 27 mkdir -p \
al@14153 28 $fs/usr/bin \
al@14153 29 $fs/usr/share/Dino/bin/translations \
al@14153 30 $fs/usr/share/applications
al@14153 31 install -m755 $src/Dino $fs/usr/share/Dino/bin
al@14153 32 install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
al@14153 33 install -m644 $src/dino.png $fs/usr/share/Dino
al@14153 34 ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
al@14153 35 install -m644 $src/dino.desktop $fs/usr/share/applications
al@14153 36 }