wok view speedcrunch/receipt @ rev 24154

linux64 : update modules64.list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 06 12:18:58 2021 +0000 (2021-12-06)
parents b91be441a121
children b569b85b0fb9
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir ./build
23 cd ./build
24 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
25 make &&
26 lrelease ../src/speedcrunch.pro &&
27 make install
29 # proper sub-category
30 sed -i 's|^Categories.*$|&;Calculator;|' \
31 $install/usr/share/applications/speedcrunch.desktop
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }