mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:37:13 +08:00
32 lines
608 B
Bash
32 lines
608 B
Bash
|
|
pkgname=libconfig
|
|
pkgver=1.7.1
|
|
pkgrel=1
|
|
pkgdesc="C/C++ Configuration File Library"
|
|
arch=('x86_64')
|
|
url="http://hyperrealm.com/libconfig/libconfig.html"
|
|
license=('LGPL')
|
|
depends=('gcc-libs' 'texinfo')
|
|
options=('!emptydirs' 'zipman')
|
|
source=($pkgname-$pkgver.tar.gz::"https://github.com/hyperrealm/libconfig/archive/v$pkgver.tar.gz")
|
|
md5sums=('3508ee02a03820da589ad013fb2c8011')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
autoreconf -vi
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
rm "$pkgdir/usr/share/info/dir"
|
|
}
|