wok-next view monkey/receipt @ rev 20915
libboost -> boost
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 00:41:54 2018 +0300 (2018-08-21) |
parents | 4396aed7eb01 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="monkey"
4 VERSION="1.5.6"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight HTTP server"
7 MAINTAINER="necrophcodr@necrophcodr.me"
8 LICENSE="APL2"
9 WEB_SITE="http://monkey-project.com"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="findutils"
15 SPLIT="monkey-dev"
17 compile_rules() {
18 # site script isn't used
19 ./configure \
20 --enable-shared \
21 --prefix=/usr \
22 --datadir=/var/www \
23 --pidfile=/var/run/monkey.pid \
24 --sysconfdir=/etc/monkey \
25 --disable-plugins=mbedtls \
26 --mandir=/usr/share/man \
27 --plugdir=/usr/share/monkey/plugins &&
28 make &&
29 make DESTDIR=$install install || return 1
31 mkdir -p $install/usr/share/monkey/samples/
32 mv $install/var/www $install/usr/share/monkey/samples/htdocs
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 monkey) copy @std;;
38 *-dev) copy @dev;;
39 esac
40 }