wok-next view speedcrunch/receipt @ rev 19060
Add: Bwahh. A futuristic display truetype font.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Apr 20 22:52:27 2016 -0300 (2016-04-20) |
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 }