wok-current annotate dfm/receipt @ rev 22437

john: fix link, add to right place
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 22 16:03:18 2019 +0000 (2019-12-22)
parents 01010da01a4a
children 640a2eba2511
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"
pascal@14653 8 LICENSE="GPL3"
pascal@20671 9 WEB_SITE="https://sourceforge.net/projects/dfm/"
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 }