description="Tools for IBM's journaled file system." packager="CRUX System Team " maintainer="Lukc " url="http://jfs.sourceforge.net/" depends=(util-linux-ng) name=jfsutils version=1.1.14 release=1 source=(http://jfs.sourceforge.net/project/pub/$name-$version.tar.gz) build () { cd $name-$version; ./configure \ ${CHOST:+--host=$CHOST} \ ${CBUILD:+--build=$CBUILD} \ --prefix=/ \ --mandir=$mandir; make; make DESTDIR=$PKG install; ln -sf jfs_mkfs $PKG/sbin/mkfs.jfs; ln -sf jfs_fsck $PKG/sbin/fsck.jfs; ln -sf jfs_mkfs.8 $PKG$mandir/man8/mkfs.jfs.8; ln -sf jfs_fsck.8 $PKG$mandir/man8/fsck.jfs.8 }