wok-current view qdirstat/receipt @ rev 21764
fake-sane: add pixma mp150
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 27 22:27:24 2019 +0200 (2019-06-27) |
parents | |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qdirstat"
4 VERSION="1.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Tools for inspecting and visualizing disk usage."
7 MAINTAINER="xavileonf@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://github.com/shundhammer/qdirstat/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/shundhammer/$PACKAGE/archive/$VERSION/$TARBALL"
14 DEPENDS="qt4"
15 BUILD_DEPENDS="Qt4-dev qmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export QMAKESPC=/usr/share/qt/mkspecs/linux-g++
21 patch --strip=1 --input=$stuff/patches/qdirstat-1.5.patch &&
22 qmake INSTALL_PREFIX=$DESTDIR/usr &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/man $fs/usr/share
33 cp -a $install/usr/share/icons $fs/usr/share
34 cp -a $install/usr/share/applications $fs/usr/share
35 }