wok view monkey/receipt @ rev 21368

updated littleutils (1.0.32 -> 1.0.41)
author Hans-G?nter Theisgen
date Sun Apr 21 17:17:34 2019 +0100 (2019-04-21)
parents 7bad8bebfb68
children c6796c6304f6
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://monkey-project.com"
11 WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="findutils"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --enable-shared --prefix=/usr --datadir=/var/www \
20 --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
21 --disable-plugins=mbedtls --mandir=/usr/share/man \
22 --plugdir=/usr/share/monkey/plugins &&
23 make &&
24 make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr/
32 cp -a $install/usr/share $fs/usr/
33 cp -a $install/etc $fs/
34 cp -a $install/var $fs/
35 mkdir -p $fs/usr/share/monkey/samples
36 mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
37 }