wok-next view speedcrunch/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="speedcrunch"
4 GITHASH="7a34226"
5 VERSION="$GITHASH" # FIXME
6 CATEGORY="utilities"
7 SHORT_DESC="Fast, high precision and powerful desktop calculator"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://speedcrunch.org/"
12 TARBALL="$PACKAGE-$VERSION.zip"
13 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$GITHASH.zip"
15 BUILD_DEPENDS="cmake Qt4-dev qmake xorgproto libx11-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 ../src &&
23 make &&
24 lrelease ../src/speedcrunch.pro &&
25 make install || return 1
27 # proper sub-category
28 sed -i 's|^Categories.*$|&;Calculator;|' \
29 $install/usr/share/applications/speedcrunch.desktop
30 }
32 genpkg_rules() {
33 cp -a $install/* $fs
34 DEPENDS="glibc-base libQtGui libQtXml"
35 }