mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 09:22:17 +08:00
Added json-c to lib32
This commit is contained in:
parent
e32851d403
commit
17737755d3
32
lib32-json-c/PKGBUILD
Normal file
32
lib32-json-c/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=lib32-json-c
|
||||
_basepkgname=json-c
|
||||
pkgver=0.9
|
||||
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."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://oss.metaparadigm.com/json-c"
|
||||
license=('GPL')
|
||||
source=("http://oss.metaparadigm.com/${_basepkgname}/${_basepkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('3a13d264528dcbaf3931b0cede24abae')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_basepkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_basepkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf ${pkgdir}/usr/include
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in New Issue
Block a user