wok view monkey/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 months ago)
parents 65942c8606f4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="monkey"
4 VERSION="1.6.9"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight HTTP server."
7 MAINTAINER="necrophcodr@necrophcodr.me"
8 LICENSE="APL2"
9 WEB_SITE="https://web.archive.org/web/20221006192715/http://monkey-project.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://web.archive.org/web/20220113110728/http://monkey-project.com/releases/${VERSION%.*}/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="cmake findutils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/releases/!d;s|.*monkey-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --webroot=/var/www \
29 --sbindir=/usr/bin \
30 --sysconfdir=/etc/monkey \
31 --pidfile=monkey.pid \
32 --default-user=www \
33 --disable-plugins=mbedtls \
34 --malloc-libc \
35 --mandir=/usr/share/man &&
36 make &&
37 make install DESTDIR=$install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/monkey/samples
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/usr/share $fs/usr
48 cp -a $install/etc $fs
49 cp -a $install/var $fs
50 mv $fs/var/www $fs/usr/share/monkey/samples/htdocs
51 }