2006-02-23 15:26:10 +00:00
|
|
|
# Description: Very fast and highly configurable HTTP server
|
|
|
|
# URL: http://www.mathopd.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=mathopd
|
2013-07-14 11:29:10 +02:00
|
|
|
version=1.6b15
|
2016-11-30 13:12:43 +01:00
|
|
|
release=3
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://www.mathopd.org/dist/$name-$version.tar.gz \
|
2007-07-22 11:43:21 +02:00
|
|
|
http://jue.li/misc/dir_cgi/dir_cgi-1.1.tar.gz \
|
2006-02-23 15:26:10 +00:00
|
|
|
http://www.mathopd.org/doc/mathopd.8.gz \
|
|
|
|
http://www.mathopd.org/doc/mathopd.conf.5.gz \
|
2012-02-03 11:50:00 +01:00
|
|
|
mathopd-config.patch mathopd.conf mathopd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version/src
|
2007-07-22 11:43:21 +02:00
|
|
|
|
|
|
|
patch -p2 -i $SRC/mathopd-config.patch
|
2009-08-25 16:14:12 +02:00
|
|
|
|
2007-07-22 11:43:21 +02:00
|
|
|
make
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2016-11-30 13:12:43 +01:00
|
|
|
install -d $PKG/{var/log,etc/rc.d,usr/{bin,sbin,share/man/man{8,5}}}
|
2006-02-23 15:26:10 +00:00
|
|
|
install -m 755 mathopd $PKG/usr/sbin
|
|
|
|
install -m 644 $SRC/mathopd.conf $PKG/etc
|
|
|
|
install -m 755 $SRC/mathopd $PKG/etc/rc.d
|
2016-11-30 13:12:43 +01:00
|
|
|
install -m 644 $SRC/mathopd.8.gz $PKG/usr/share/man/man8
|
|
|
|
install -m 644 $SRC/mathopd.conf.5.gz $PKG/usr/share/man/man5
|
2006-12-03 12:18:51 +01:00
|
|
|
install -d -o www -g www $PKG/var/log/mathopd
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2006-12-03 12:18:51 +01:00
|
|
|
cd $SRC/dir_cgi-1.1
|
2006-02-23 15:26:10 +00:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|