wok view dfm/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
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 }