wok-next view speedcrunch/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | b4f791f1a656 |
children | f99935f1778a |
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 xorg-xproto xorg-libX11-dev"
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 }