wok view dfm/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents 6e8b1bcb30e2
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="dfm"
4 VERSION="0.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Dino - Simple Qt based File Manager for GNU/Linux"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/dfm/"
10 TARBALL="Dino_src-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/dfm/files/src/$TARBALL"
13 DEPENDS="bzlib libQtGui libQtNetwork"
14 BUILD_DEPENDS="qmake Qt4-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/dfm/files/src/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/Dino_src-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 qmake Dino.pro &&
27 make &&
28 lrelease Dino.pro
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p \
35 $fs/usr/bin \
36 $fs/usr/share/Dino/bin/translations \
37 $fs/usr/share/applications
38 install -m755 $src/Dino $fs/usr/share/Dino/bin
39 install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
40 install -m644 $src/dino.png $fs/usr/share/Dino
41 ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
42 install -m644 $src/dino.desktop $fs/usr/share/applications
43 }