wok view monkey/receipt @ rev 25294
updated screen, screen-pam and screen-terminfo (4.8.0 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 17:34:06 2022 +0100 (2022-07-19) |
parents | 535c806240cc |
children | 65942c8606f4 |
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="http://monkey-project.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}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 - http://monkey-project.com/downloads/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 }