# Packager: Phill Watkins <ubemail~at~ymail~dot~com>

pkgname=libaal
pkgver=1.0.5
pkgrel=1pw
#arch=noarch
source=("http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/libaal-$pkgver.tar.gz")
sourcetemplate=http://people.salixos.org/pwatk/packages/l/$pkgname/$pkgver
docs=("AUTHORS" "BUGS" "ChangeLog" "COPYING" "CREDITS" "INSTALL" "NEWS" "README" "THANKS" "TODO")
url=https://reiser4.wiki.kernel.org/index.php/Reiser4

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libaal (Application abstraction library for reiser4progs)"
"Libaal is an application abstraction library that is required by"
"reiser4progs."
)

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 \
	  --build=$arch-slackware-linux
	make
	make install DESTDIR=$startdir/pkg

    set +e
}