summaryrefslogtreecommitdiffstats
path: root/extra/qjson/Pkgfile
blob: 8a386209cb3c62626c18406ab073556a94091aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Librairie JSON en Qt
# URL: http://qjson.sourceforge.net
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: cmake, qt
# Run on: qt

name=qjson
version=0.7.1
release=1

source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 )

build() {
	cd $SRC
  	mkdir build
  	cd build
  	cmake ../$name \
    		-DCMAKE_INSTALL_PREFIX=/usr \
    		-DCMAKE_BUILD_TYPE=Release
  	make
	make DESTDIR=$PKG install
}