wok-next annotate monkey/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents 757d032c55c7
children e19ff076dc63
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
necrophcodr@17848 8 LICENSE="APL2"
al@21020 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@21020 15 SPLIT="$PACKAGE-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 }