wok annotate speedcrunch/receipt @ rev 21107

updated lftp (4.4.8 -> 4.8.4)
author Hans-G?nter Theisgen
date Tue Mar 19 14:12:59 2019 +0100 (2019-03-19)
parents 34b405b7210d
children fecd32b7c03a
rev   line source
al@15634 1 # SliTaz package receipt.
al@15634 2
al@15634 3 PACKAGE="speedcrunch"
al@16594 4 GITHASH="7a34226332a526f0d77f02b17b87f165362a206d"
al@16594 5 VERSION=${GITHASH:0:7}
al@15634 6 CATEGORY="utilities"
al@15634 7 SHORT_DESC="SpeedCrunch is a fast, high precision and powerful desktop calculator"
al@15634 8 MAINTAINER="al.bobylev@gmail.com"
al@15634 9 LICENSE="GPL2"
al@15634 10 WEB_SITE="http://speedcrunch.org/"
al@16594 11 TARBALL="$PACKAGE-$VERSION.zip"
al@16594 12 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$GITHASH.zip"
al@15634 13 DEPENDS="glibc-base libQtGui libQtXml"
al@16594 14 BUILD_DEPENDS="cmake Qt4-dev qmake wget"
al@15634 15
al@15634 16 # Rules to configure and make the package.
al@15634 17 compile_rules()
al@15634 18 {
pascal@16595 19 mkdir ./build
pascal@16595 20 cd ./build
al@15634 21 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
al@15634 22 make &&
al@15634 23 lrelease ../src/speedcrunch.pro &&
al@15634 24 make install
al@15634 25 # proper sub-category
al@15634 26 sed -i 's|^Categories.*$|&;Calculator;|' \
al@15634 27 $install/usr/share/applications/speedcrunch.desktop
al@15634 28 }
al@15634 29
al@15634 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@15634 31 genpkg_rules()
al@15634 32 {
al@15634 33 cp -a $install/* $fs
al@15634 34 }