# Description: Administration and debugging tools for the jfs file system.
# URL: http://jfs.sourgeforge.net
# Maintainer: shaggy at kernel dot org
# Packager: tnut at nutyx dot org

name=jfsutils
version=1.1.15
release=1

source=(http://jfs.sourceforge.net/project/pub/$name-$version.tar.gz)

build() {

cd $name-$version
sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c
./configure
make
make DESTDIR=$PKG install
}
