blob: 0517b86f164c639e5674385e9ae4f5c4d07d2b37 (
plain)
1 # Description: Very fast and highly configurable HTTP server
2 # URL: http://www.mathopd.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4
5 name=mathopd
6 version=1.6b15
7 release=3
8 source=(http://www.mathopd.org/dist/$name-$version.tar.gz \
9 http://jue.li/misc/dir_cgi/dir_cgi-1.1.tar.gz \
10 http://www.mathopd.org/doc/mathopd.8.gz \
11 http://www.mathopd.org/doc/mathopd.conf.5.gz \
12 mathopd-config.patch mathopd.conf mathopd)
13
14 build () {
15 cd $name-$version/src
16
17 patch -p2 -i $SRC/mathopd-config.patch
18
19 make
20
21 install -d $PKG/{var/log,etc/rc.d,usr/{bin,sbin,share/man/man{8,5}}}
22 install -m 755 mathopd $PKG/usr/sbin
23 install -m 644 $SRC/mathopd.conf $PKG/etc
24 install -m 755 $SRC/mathopd $PKG/etc/rc.d
25 install -m 644 $SRC/mathopd.8.gz $PKG/usr/share/man/man8
26 install -m 644 $SRC/mathopd.conf.5.gz $PKG/usr/share/man/man5
27 install -d -o www -g www $PKG/var/log/mathopd
28
29 cd $SRC/dir_cgi-1.1
30 make DESTDIR=$PKG install
31 }
|