wok view qdirstat/receipt @ rev 25558

Up libqcow (20221124)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 24 09:03:56 2023 +0000 (20 months ago)
parents a6d601cd1930
children 0262035dc1e7
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 }