IGNOREPATH=/dev:/var:/etc:/root:/home:/mnt:/tmp
STRIPBIN=y
STRIPLIB=y

VERSION=1.3.10
DESC="\
devfsd $VERSION\n\
\n\
Linux device filesystem support."

BUILD=1
ARCH=`/bin/arch`
PKGNAME=devfsd-$VERSION-$ARCH-$BUILD

compile() {
   tar xvzf $CWD/devfsd-v$VERSION.tar.gz

   cd devfsd
   make -f GNUmakefile
}

install() {
   make -f GNUmakefile install
   cp devfsd.8 /usr/man/man8
}

special() {
   mkdir -p $PKG/etc
   cp $TMP/devfsd/devfsd.conf $PKG/etc/devfsd.conf
   chown root.root $PKG/etc/devfsd.conf
   chmod 644 $PKG/etc/devfsd.conf
}
