wok-next view monkey/receipt @ rev 21108

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 07 11:27:51 2019 +0200 (2019-01-07)
parents d5aab818505e
children
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="devel@slitaz.org"
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 COOKOPTS="force-arch" # different .h
16 BUILD_DEPENDS="findutils"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 # site script isn't used
21 ./configure \
22 --enable-shared \
23 --prefix=/usr \
24 --datadir=/var/www \
25 --pidfile=/var/run/monkey.pid \
26 --sysconfdir=/etc/monkey \
27 --disable-plugins=mbedtls \
28 --mandir=/usr/share/man \
29 --plugdir=/usr/share/monkey/plugins &&
30 make &&
31 make DESTDIR=$install install || return 1
33 mkdir -p $install/usr/share/monkey/samples/
34 mv $install/var/www $install/usr/share/monkey/samples/htdocs
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 monkey) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }