wok-next annotate speedcrunch/receipt @ rev 21206
try to build assaultcube again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 09:25:03 2019 +0100 (2019-12-02) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@15634 | 1 # SliTaz package receipt. |
al@15634 | 2 |
al@15634 | 3 PACKAGE="speedcrunch" |
al@21020 | 4 GITHASH="7a34226" |
al@21020 | 5 VERSION="$GITHASH" # FIXME |
al@15634 | 6 CATEGORY="utilities" |
al@21020 | 7 SHORT_DESC="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@21020 | 11 |
al@16594 | 12 TARBALL="$PACKAGE-$VERSION.zip" |
al@16594 | 13 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$GITHASH.zip" |
al@21020 | 14 |
al@21078 | 15 BUILD_DEPENDS="cmake Qt4-dev qmake xorgproto libx11-dev" |
al@15634 | 16 |
al@21020 | 17 compile_rules() { |
al@21020 | 18 mkdir build |
al@21020 | 19 cd build |
al@21020 | 20 cmake \ |
al@21020 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 22 ../src && |
al@15634 | 23 make && |
al@15634 | 24 lrelease ../src/speedcrunch.pro && |
al@21020 | 25 make install || return 1 |
al@21020 | 26 |
al@15634 | 27 # proper sub-category |
al@15634 | 28 sed -i 's|^Categories.*$|&;Calculator;|' \ |
al@15634 | 29 $install/usr/share/applications/speedcrunch.desktop |
al@15634 | 30 } |
al@15634 | 31 |
al@21020 | 32 genpkg_rules() { |
al@15634 | 33 cp -a $install/* $fs |
al@21020 | 34 DEPENDS="glibc-base libQtGui libQtXml" |
al@15634 | 35 } |