wok-6.x view qdirstat/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | a6d601cd1930 |
children |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export QMAKESPC=/usr/share/qt/mkspecs/linux-g++
27 patch --strip=1 --input=$stuff/patches/qdirstat-1.5.patch &&
28 qmake INSTALL_PREFIX=$DESTDIR/usr &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/man $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 cp -a $install/usr/share/applications $fs/usr/share
41 }