mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:47:41 +08:00
31 lines
871 B
Bash
31 lines
871 B
Bash
#
|
|
# 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=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/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('3a13d264528dcbaf3931b0cede24abae')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|