wok-next view monkey/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | 757d032c55c7 |
children | e19ff076dc63 |
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 BUILD_DEPENDS="findutils"
15 SPLIT="$PACKAGE-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 }