wok-next annotate monkey/receipt @ rev 20837

lua: add SHA1sum
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 19:28:49 2018 +0000 (2018-06-17)
parents 4396aed7eb01
children d5aab818505e
rev   line source
al@20464 1 # SliTaz package receipt v2.
necrophcodr@17848 2
necrophcodr@17848 3 PACKAGE="monkey"
necrophcodr@17848 4 VERSION="1.5.6"
necrophcodr@17848 5 CATEGORY="network"
necrophcodr@17848 6 SHORT_DESC="Lightweight HTTP server"
necrophcodr@17848 7 MAINTAINER="necrophcodr@necrophcodr.me"
necrophcodr@17848 8 LICENSE="APL2"
al@20464 9 WEB_SITE="http://monkey-project.com"
al@20464 10
necrophcodr@17848 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17869 12 WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
necrophcodr@17848 13
necrophcodr@17848 14 BUILD_DEPENDS="findutils"
al@20464 15 SPLIT="monkey-dev"
necrophcodr@17848 16
al@20464 17 compile_rules() {
al@20534 18 # site script isn't used
al@20464 19 ./configure \
al@20464 20 --enable-shared \
al@20464 21 --prefix=/usr \
al@20464 22 --datadir=/var/www \
al@20464 23 --pidfile=/var/run/monkey.pid \
al@20464 24 --sysconfdir=/etc/monkey \
al@20464 25 --disable-plugins=mbedtls \
al@20464 26 --mandir=/usr/share/man \
al@20464 27 --plugdir=/usr/share/monkey/plugins &&
necrophcodr@17848 28 make &&
al@20534 29 make DESTDIR=$install install || return 1
al@20534 30
al@20534 31 mkdir -p $install/usr/share/monkey/samples/
al@20534 32 mv $install/var/www $install/usr/share/monkey/samples/htdocs
necrophcodr@17848 33 }
necrophcodr@17848 34
al@20464 35 genpkg_rules() {
al@20464 36 case $PACKAGE in
al@20534 37 monkey) copy @std;;
al@20534 38 *-dev) copy @dev;;
al@20464 39 esac
necrophcodr@17848 40 }