wok-6.x annotate 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 |
rev | line source |
---|---|
al@15634 | 1 # SliTaz package receipt. |
al@15634 | 2 |
al@15634 | 3 PACKAGE="speedcrunch" |
al@16594 | 4 GITHASH="7a34226332a526f0d77f02b17b87f165362a206d" |
al@16594 | 5 VERSION=${GITHASH:0:7} |
al@15634 | 6 CATEGORY="utilities" |
al@15634 | 7 SHORT_DESC="SpeedCrunch is a fast, high precision and powerful desktop calculator" |
al@15634 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@15634 | 9 LICENSE="GPL2" |
al@15634 | 10 WEB_SITE="http://speedcrunch.org/" |
al@16594 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
al@16594 | 12 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$GITHASH.zip" |
al@15634 | 13 DEPENDS="glibc-base libQtGui libQtXml" |
al@16594 | 14 BUILD_DEPENDS="cmake Qt4-dev qmake wget" |
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 } |