mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
Fixed json-c
This commit is contained in:
parent
17737755d3
commit
5ecca2d22c
@ -13,11 +13,14 @@ pkgrel=1
|
|||||||
pkgdesc="JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects."
|
pkgdesc="JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://oss.metaparadigm.com/json-c"
|
url="http://oss.metaparadigm.com/json-c"
|
||||||
|
depends=($_basepkgname)
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
source=("http://oss.metaparadigm.com/${_basepkgname}/${_basepkgname}-${pkgver}.tar.gz")
|
source=("http://oss.metaparadigm.com/${_basepkgname}/${_basepkgname}-${pkgver}.tar.gz")
|
||||||
md5sums=('3a13d264528dcbaf3931b0cede24abae')
|
md5sums=('3a13d264528dcbaf3931b0cede24abae')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
export CC="gcc -m32"
|
||||||
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||||
cd "${srcdir}/${_basepkgname}-${pkgver}"
|
cd "${srcdir}/${_basepkgname}-${pkgver}"
|
||||||
./configure --prefix=/usr --libdir=/usr/lib32
|
./configure --prefix=/usr --libdir=/usr/lib32
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user