wok view monkey/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
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 }