wok-current view monkey/receipt @ rev 24511
updated eigen (3.3.7 -> 3.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 21 09:33:38 2022 +0100 (2022-02-21) |
parents | c6796c6304f6 |
children | 01ed9626bb94 |
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 # 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 --enable-shared --prefix=/usr --datadir=/var/www \
27 --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
28 --disable-plugins=mbedtls --mandir=/usr/share/man \
29 --plugdir=/usr/share/monkey/plugins &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr/
39 cp -a $install/usr/share $fs/usr/
40 cp -a $install/etc $fs/
41 cp -a $install/var $fs/
42 mkdir -p $fs/usr/share/monkey/samples
43 mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
44 }