wok-6.x view qjson/receipt @ rev 16495

Add python-smbus (from i2c-tools) + python-rpi-gpio to handle R-Pi gpio
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 16:32:16 2014 +0200 (2014-04-23)
parents
children f8007f2c0018
line source
1 # SliTaz package receipt.
3 PACKAGE="qjson"
4 VERSION="0.8.1"
5 CATEGORY="development"
6 SHORT_DESC="QJson is a qt-based library that maps JSON data to QVariant objects"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://qjson.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="https://github.com/flavio/qjson/archive/master.zip"
13 DEPENDS="libQtGui libQtNetwork libQtSql libcrypto"
14 BUILD_DEPENDS="Qt4-dev qmake cmake wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build && cd build
20 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }