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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"reiser4progs (Reiser4 filesystem utilities)"
"A library for reiser4 filesystem access and manipulation and reiser4"
"utilities."
)

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 \
	  --disable-static
	make
	make install DESTDIR=$startdir/pkg

    set +e
}