wok view monkey/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents d3eb5f4b53ea
children 535c806240cc
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="https://web.archive.org/web/20200229054452/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 }