#Packager: Markus Muttilainen pkgname=confuse pkgver=2.6 pkgrel=2mm #arch= source=(http://bzero.se/confuse/confuse-2.6.tar.gz) #sourcetemplate=http://people.salixos.org/stillborn/$pkgname/ docs=("README" "INSTALL" "AUTHORS" "NEWS") #url=http://bzero.se/confuse/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "confuse (a configuration file parser library)" "Licensed under the terms of the LGPL, and written in C. It supports" "sections and (lists of) values (strings, integers, floats, booleans" "or other sections), as well as some other features (such as single/" "double-quoted strings, environment variable expansion, functions and" "nested include statements). It makes it very easy to add configuration" "file capability to a program using a simple API." ) build() { export CFLAGS="$CFLAGS -Wno-unused" cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux \ --enable-static=no --enable-shared make || return 1 make install DESTDIR=$startdir/pkg }