wok view speedcrunch/receipt @ rev 15639

Down rack (1.3.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 20:33:37 2013 +0000 (2013-12-09)
parents
children 34b405b7210d
line source
1 # SliTaz package receipt.
3 PACKAGE="speedcrunch"
4 VERSION="0.10.1"
5 CATEGORY="utilities"
6 SHORT_DESC="SpeedCrunch is a fast, high precision and powerful desktop calculator"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://speedcrunch.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://speedcrunch.googlecode.com/files/$TARBALL"
13 DEPENDS="glibc-base libQtGui libQtXml"
14 BUILD_DEPENDS="cmake Qt4-dev qmake"
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 }