#Maintainer: George Vlahavas (vlahavas~AT~gmail~DOT~com) pkgname=libconfig pkgver=1.4.8 pkgrel=1dj arch=i486 source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz") docs=("README" "AUTHORS" "changelog" "TODO") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Libconfig (C/C++ Configuration File Library)" "Libconfig is a simple library for manipulating structured" "configuration files. This file format is more compact and more" "readable than XML. And unlike XML, it is type-aware, so it is not" "necessary to do string parsing in application code. Libconfig is" "very compact. This makes it well-suited for memory-constrained" "systems like handheld devices. The library includes bindings for both" "the C and C++ languages." "Website: http://www.hyperrealm.com/libconfig/" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg || return 1 }