wok view speedcrunch/receipt @ rev 20593

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