wok annotate qdirstat/receipt @ rev 25161
created recipe for py3k-pillow
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:04:47 2022 +0100 (2022-07-01) |
parents | a6d601cd1930 |
children | 0262035dc1e7 |
rev | line source |
---|---|
Hans-G?nter@21575 | 1 # SliTaz package receipt. |
Hans-G?nter@21575 | 2 |
Hans-G?nter@21575 | 3 PACKAGE="qdirstat" |
Hans-G?nter@21575 | 4 VERSION="1.5" |
Hans-G?nter@21575 | 5 CATEGORY="base-system" |
Hans-G?nter@21575 | 6 SHORT_DESC="Tools for inspecting and visualizing disk usage." |
Hans-G?nter@21575 | 7 MAINTAINER="xavileonf@gmail.com" |
Hans-G?nter@21575 | 8 LICENSE="LGPL3" |
Hans-G?nter@21575 | 9 WEB_SITE="https://github.com/shundhammer/qdirstat/" |
Hans-G?nter@21575 | 10 |
Hans-G?nter@21575 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21575 | 12 WGET_URL="https://github.com/shundhammer/$PACKAGE/archive/$VERSION/$TARBALL" |
Hans-G?nter@21575 | 13 |
Hans-G?nter@21575 | 14 DEPENDS="qt4" |
Hans-G?nter@21575 | 15 BUILD_DEPENDS="Qt4-dev qmake" |
Hans-G?nter@21575 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
Hans-G?nter@21575 | 23 # Rules to configure and make the package. |
Hans-G?nter@21575 | 24 compile_rules() |
Hans-G?nter@21575 | 25 { |
Hans-G?nter@21575 | 26 export QMAKESPC=/usr/share/qt/mkspecs/linux-g++ |
Hans-G?nter@21575 | 27 patch --strip=1 --input=$stuff/patches/qdirstat-1.5.patch && |
Hans-G?nter@21575 | 28 qmake INSTALL_PREFIX=$DESTDIR/usr && |
Hans-G?nter@21575 | 29 make install |
Hans-G?nter@21575 | 30 } |
Hans-G?nter@21575 | 31 |
Hans-G?nter@21575 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@21575 | 33 genpkg_rules() |
Hans-G?nter@21575 | 34 { |
Hans-G?nter@21575 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@21575 | 36 |
Hans-G?nter@21575 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21575 | 38 cp -a $install/usr/share/man $fs/usr/share |
Hans-G?nter@21575 | 39 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@21575 | 40 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21575 | 41 } |