wok-current view speedcrunch/receipt @ rev 24968
gnutls: disabled GOST support
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 13:11:21 2022 +0100 (2022-04-26) |
parents | fecd32b7c03a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="speedcrunch"
4 #GITHASH="7a34226332a526f0d77f02b17b87f165362a206d"
5 #VERSION=${GITHASH:0:7}
6 VERSION="0.11"
7 CATEGORY="utilities"
8 SHORT_DESC="A fast, high precision and powerful desktop calculator."
9 MAINTAINER="al.bobylev@gmail.com"
10 LICENSE="GPL2"
11 WEB_SITE="https://www.speedcrunch.org/"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$VERSION.tar.gz"
16 DEPENDS="glibc-base libQtGui libQtXml"
17 BUILD_DEPENDS="cmake Qt4-dev qmake"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/speedcrunch/SpeedCrunch/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir ./build
30 cd ./build
31 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
32 make &&
33 lrelease ../src/speedcrunch.pro &&
34 make install
36 # proper sub-category
37 sed -i 's|^Categories.*$|&;Calculator;|' \
38 $install/usr/share/applications/speedcrunch.desktop
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }