# vim: set syn=sh: # Packager: Phill Watkins pkgname=libasyncns pkgver=0.8 pkgrel=1pw #arch=noarch source=("http://0pointer.de/lennart/projects/libasyncns/libasyncns-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/l/$pkgname docs=("LICENSE") url=http://0pointer.de/lennart/projects/libasyncns/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libasyncns (C library for asynchronous name service queries)" "libasyncns is a C library for Linux/Unix for executing name service" "queries asynchronously. It is an asynchronous wrapper around" "getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from" "libc and libresolv." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ --disable-static make -j $numjobs make install DESTDIR=$startdir/pkg set +e }