python-simplejson: cross build support.

This commit is contained in:
Juan RP 2014-01-26 17:27:23 +01:00
parent 7147a1d1e5
commit 24f5ea8cfb
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,8 @@ pkgname=python-simplejson
version=2.5.2
revision=2
build_style=python-module
makedepends="python-devel"
hostmakedepends="python-devel"
makedepends="${hostmakedepends}"
pycompile_module="simplejson"
short_desc="Simple, fast, extensible JSON encoder/decoder for Python"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -13,5 +14,6 @@ license="MIT"
do_fetch() {
local url="git://github.com/simplejson/simplejson.git"
git clone $url $pkgname-$version
cd $pkgname-$version && git checkout v${version}
cd $pkgname-$version
git checkout v${version}
}