wok-current view speedcrunch/receipt @ rev 16594

Up: speedcrunch; slitaz-tools-boxes: fix typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 07 04:14:35 2014 +0300 (2014-05-07)
parents b3d41a4972b2
children b91be441a121
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 && cd ./build
20 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
21 make &&
22 lrelease ../src/speedcrunch.pro &&
23 make install
24 # proper sub-category
25 sed -i 's|^Categories.*$|&;Calculator;|' \
26 $install/usr/share/applications/speedcrunch.desktop
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }