# Packager: Phill Watkins # Previous packager: Phill Watkins pkgname=libbsd pkgver=0.4.2 pkgrel=1gv source=("http://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.gz") docs=("ChangeLog" "README" "TODO" "Versions") url=http://libbsd.freedesktop.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libbsd (Utility functions from BSD systems)" "This library provides useful functions commonly found on BSD systems," "and lacking on others like GNU systems, thus making it easier to port" "projects with strong BSD origins, without needing to embed the same" "code over and over again on each project." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg set +e }