description="Filesystem utilities for ReiserFS."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.kernel.org/pub/linux/utils/fs/reiserfs/README"
depends=(util-linux-ng)

name=reiserfsprogs
version=3.6.21
release=1
source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/$name-$version.tar.bz2)
build () 
{ 
	cd $name-$version;
	./configure \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--prefix=/ \
		--mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
	ln -s reiserfsck $PKG/sbin/fsck.reiserfs;
	ln -s mkreiserfs $PKG/sbin/mkfs.reiserfs
}