wok view monkey/receipt @ rev 22412
up xfce4 4.14.0/1 ; we've a mix of versions here 4.10/4.11... (requested in forum: http://forum.slitaz.org/topic/xfce-can-not-install )
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 14 16:16:41 2019 +0000 (2019-12-14) |
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 }