wok annotate dfm/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (20 months ago)
parents 640a2eba2511
children 69e1e705f038
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@25457 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
pascal@24385 16 # What is the latest version available today?
pascal@24385 17 current_version()
pascal@24385 18 {
pascal@24385 19 wget -O - https://sourceforge.net/projects/dfm/files/src/ 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*/Dino_src-||;s|.tar.*||;q'
pascal@24385 21 }
pascal@24385 22
al@14153 23 # Rules to configure and make the package.
al@14153 24 compile_rules()
al@14153 25 {
al@14153 26 qmake Dino.pro &&
al@14153 27 make &&
al@14153 28 lrelease Dino.pro
al@14153 29 }
al@14153 30
al@14153 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14153 32 genpkg_rules()
al@14153 33 {
al@14153 34 mkdir -p \
al@14153 35 $fs/usr/bin \
al@14153 36 $fs/usr/share/Dino/bin/translations \
al@14153 37 $fs/usr/share/applications
al@14153 38 install -m755 $src/Dino $fs/usr/share/Dino/bin
al@14153 39 install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
al@14153 40 install -m644 $src/dino.png $fs/usr/share/Dino
al@14153 41 ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
al@14153 42 install -m644 $src/dino.desktop $fs/usr/share/applications
al@14153 43 }