wok annotate dfm/receipt @ rev 17935

syslinux (tiny edits)
author Paul Issott <paul@slitaz.org>
date Mon Apr 13 19:10:05 2015 +0100 (2015-04-13)
parents 522b73e60215
children 6e8b1bcb30e2
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"
al@14153 9 WEB_SITE="http://dfm.sf.net/"
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
al@14153 16 # Rules to configure and make the package.
al@14153 17 compile_rules()
al@14153 18 {
al@14153 19 qmake Dino.pro &&
al@14153 20 make &&
al@14153 21 lrelease Dino.pro
al@14153 22 }
al@14153 23
al@14153 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14153 25 genpkg_rules()
al@14153 26 {
al@14153 27 mkdir -p \
al@14153 28 $fs/usr/bin \
al@14153 29 $fs/usr/share/Dino/bin/translations \
al@14153 30 $fs/usr/share/applications
al@14153 31 install -m755 $src/Dino $fs/usr/share/Dino/bin
al@14153 32 install -m644 $src/translations/*.qm $fs/usr/share/Dino/bin/translations
al@14153 33 install -m644 $src/dino.png $fs/usr/share/Dino
al@14153 34 ln -sf /usr/share/Dino/bin/Dino $fs/usr/bin/dino
al@14153 35 install -m644 $src/dino.desktop $fs/usr/share/applications
al@14153 36 }