python-simplejson: cross build support.
This commit is contained in:
parent
7147a1d1e5
commit
24f5ea8cfb
@ -3,7 +3,8 @@ pkgname=python-simplejson
|
|||||||
version=2.5.2
|
version=2.5.2
|
||||||
revision=2
|
revision=2
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-devel"
|
||||||
|
makedepends="${hostmakedepends}"
|
||||||
pycompile_module="simplejson"
|
pycompile_module="simplejson"
|
||||||
short_desc="Simple, fast, extensible JSON encoder/decoder for Python"
|
short_desc="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
@ -13,5 +14,6 @@ license="MIT"
|
|||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/simplejson/simplejson.git"
|
local url="git://github.com/simplejson/simplejson.git"
|
||||||
git clone $url $pkgname-$version
|
git clone $url $pkgname-$version
|
||||||
cd $pkgname-$version && git checkout v${version}
|
cd $pkgname-$version
|
||||||
|
git checkout v${version}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user