wok-6.x view dfm/receipt @ rev 19528

harfbuzz: mv /usr/bin to harfbuzz-apps (hg add)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 28 16:31:17 2016 +0100 (2016-11-28)
parents 522b73e60215
children 6e8b1bcb30e2
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="http://dfm.sf.net/"
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 }