mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
29 lines
637 B
Bash
29 lines
637 B
Bash
# Maintainer: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=libconfig
|
|
pkgver=1.4.9
|
|
pkgrel=1
|
|
pkgdesc="C/C++ Configuration File Library"
|
|
arch=('x86_64')
|
|
url="http://hyperrealm.com/libconfig/libconfig.html"
|
|
license=('LGPL')
|
|
depends=('gcc-libs' 'texinfo')
|
|
install=libconfig.install
|
|
options=('!libtool' '!emptydirs' 'zipman')
|
|
source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('b6ee0ce2b3ef844bad7cac2803a90634')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
rm ${pkgdir}/usr/share/info/dir
|
|
}
|