wok-next diff speedcrunch/receipt @ rev 16012

syslinux/iso2exe: access both local and isofs namespaces
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 04 21:00:29 2014 +0000 (2014-03-04)
parents
children 34b405b7210d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/speedcrunch/receipt	Tue Mar 04 21:00:29 2014 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="speedcrunch"
     1.7 +VERSION="0.10.1"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="SpeedCrunch is a fast, high precision and powerful desktop calculator"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://speedcrunch.org/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://speedcrunch.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +DEPENDS="glibc-base libQtGui libQtXml"
    1.17 +BUILD_DEPENDS="cmake Qt4-dev qmake"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mkdir ./build && cd ./build
    1.23 +	cmake -DCMAKE_INSTALL_PREFIX=/usr ../src &&
    1.24 +	make &&
    1.25 +	lrelease ../src/speedcrunch.pro &&
    1.26 +	make install
    1.27 +	# proper sub-category
    1.28 +	sed -i 's|^Categories.*$|&;Calculator;|' \
    1.29 +		$install/usr/share/applications/speedcrunch.desktop
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	cp -a $install/* $fs
    1.36 +}