wok-next view speedcrunch/receipt @ rev 18642

Up tazpkg(878)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 30 02:28:21 2015 +0200 (2015-11-30)
parents 34b405b7210d
children b4f791f1a656
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 }