wok view qdirstat/receipt @ rev 21575
created package qdirstat (thanks Xavier)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 10:40:55 2019 +0100 (2019-05-19) |
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 }