#Packager: fredg <fred.galusik~at~gmail~dot~com> 

pkgname=progsreiserfs
pkgver=0.3.0.4
pkgrel=1fg
arch=i486
source=(http://gd.tuwien.ac.at/utils/fs/reiserfs/libreiserfs/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/$pkgname/
docs=("about-nls" "bugs" "readme" "install" "copying" "changelog" "authors" "news" "todo" "thanks")
url=http://reiserfs.osdn.org.ua/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"progsreiserfs (Utilities to manipulate ReiserFS partitions)"
"This is a library for reiserfs filesystem access and manipulation."
"The primary goal is to develop the nice, full functionality library"
"wich might be linked against any projects which needed reiserfs"
"filesystem access. There are GNU Parted, GNU GRUB, Yaboot, Partimage,"
"EVMS, etc."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
        --libdir=/usr/lib${LIBDIRSUFFIX} \
        --enable-shared=no \
        --disable-debug
	make || return 1
	make install DESTDIR=$startdir/pkg
}