wok-current view dfm/receipt @ rev 23913
Add linux-mmc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 17:17:01 2020 +0000 (2020-08-16) |
parents | 01010da01a4a |
children | 640a2eba2511 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 qmake Dino.pro &&
20 make &&
21 lrelease Dino.pro
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p \
28 $fs/usr/bin \
29 $fs/usr/share/Dino/bin/translations \
30 $fs/usr/share/applications
31 install -m755 $src/Dino $fs/usr/share/Dino/bin
32 install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
33 install -m644 $src/dino.png $fs/usr/share/Dino
34 ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
35 install -m644 $src/dino.desktop $fs/usr/share/applications
36 }