webfs: fix build with dash, move man-pages

This commit is contained in:
Juergen Daubert 2016-03-01 17:01:11 +01:00
parent ead75fe33b
commit 36e322136d
2 changed files with 7 additions and 5 deletions

View File

@ -4,6 +4,7 @@ drwxr-xr-x root/root etc/rc.d/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/webfsd
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/webfsd.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/webfsd.1.gz

View File

@ -6,12 +6,13 @@
name=webfs
version=1.21
release=3
release=4
source=(http://dl.bytesex.org/releases/webfs/webfs-$version.tar.gz \
webfsd)
build() {
cd $name-$version
make prefix=$PKG/usr mandir=$PKG/usr/man install
sed -i '1a\export SHELL=/bin/bash' GNUmakefile
make prefix=$PKG/usr install
install -D -m 0755 $SRC/webfsd $PKG/etc/rc.d/webfsd
}