wok-6.x annotate speedcrunch/receipt @ rev 15976

Up connman-tools (1.21)
author Dominique Corbex <domcox@slitaz.org>
date Fri Feb 28 21:53:25 2014 +0100 (2014-02-28)
parents
children 34b405b7210d
rev   line source
al@15634 1 # SliTaz package receipt.
al@15634 2
al@15634 3 PACKAGE="speedcrunch"
al@15634 4 VERSION="0.10.1"
al@15634 5 CATEGORY="utilities"
al@15634 6 SHORT_DESC="SpeedCrunch is a fast, high precision and powerful desktop calculator"
al@15634 7 MAINTAINER="al.bobylev@gmail.com"
al@15634 8 LICENSE="GPL2"
al@15634 9 WEB_SITE="http://speedcrunch.org/"
al@15634 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@15634 11 WGET_URL="http://speedcrunch.googlecode.com/files/$TARBALL"
al@15634 12
al@15634 13 DEPENDS="glibc-base libQtGui libQtXml"
al@15634 14 BUILD_DEPENDS="cmake Qt4-dev qmake"
al@15634 15
al@15634 16 # Rules to configure and make the package.
al@15634 17 compile_rules()
al@15634 18 {
al@15634 19 mkdir ./build && cd ./build
al@15634 20 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
al@15634 21 make &&
al@15634 22 lrelease ../src/speedcrunch.pro &&
al@15634 23 make install
al@15634 24 # proper sub-category
al@15634 25 sed -i 's|^Categories.*$|&;Calculator;|' \
al@15634 26 $install/usr/share/applications/speedcrunch.desktop
al@15634 27 }
al@15634 28
al@15634 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@15634 30 genpkg_rules()
al@15634 31 {
al@15634 32 cp -a $install/* $fs
al@15634 33 }