wok annotate speedcrunch/receipt @ rev 23268

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