wok-next view monkey/receipt @ rev 18392

Add: WIP open-vm-tools kernel modules
author Nathan Neulinger <nneul@neulinger.org>
date Fri Sep 18 23:50:52 2015 +0000 (2015-09-18)
parents 7bad8bebfb68
children 4396aed7eb01
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 }