wok-6.x view speedcrunch/receipt @ rev 16040

tazpanel: gettext is installed in chroot
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 11:49:44 2014 +0100 (2014-03-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 }