wok annotate monkey/receipt @ rev 24019

syslinux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:32:57 2021 +0000 (2021-02-28)
parents d3eb5f4b53ea
children 535c806240cc
rev   line source
necrophcodr@17848 1 # SliTaz package receipt.
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"
necrophcodr@17848 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23765 10 WEB_SITE="https://web.archive.org/web/20200229054452/http://monkey-project.com/"
pascal@17869 11 WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
necrophcodr@17848 12
necrophcodr@17848 13 DEPENDS=""
necrophcodr@17848 14 BUILD_DEPENDS="findutils"
necrophcodr@17848 15
necrophcodr@17848 16 # Rules to configure and make the package.
necrophcodr@17848 17 compile_rules()
necrophcodr@17848 18 {
necrophcodr@17848 19 ./configure --enable-shared --prefix=/usr --datadir=/var/www \
necrophcodr@17848 20 --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
necrophcodr@17848 21 --disable-plugins=mbedtls --mandir=/usr/share/man \
necrophcodr@17848 22 --plugdir=/usr/share/monkey/plugins &&
necrophcodr@17848 23 make &&
necrophcodr@17848 24 make DESTDIR=$install install
necrophcodr@17848 25 }
necrophcodr@17848 26
necrophcodr@17848 27 # Rules to gen a SliTaz package suitable for Tazpkg.
necrophcodr@17848 28 genpkg_rules()
necrophcodr@17848 29 {
necrophcodr@17848 30 mkdir -p $fs/usr
necrophcodr@17848 31 cp -a $install/usr/bin $fs/usr/
necrophcodr@17848 32 cp -a $install/usr/share $fs/usr/
necrophcodr@17848 33 cp -a $install/etc $fs/
necrophcodr@17848 34 cp -a $install/var $fs/
necrophcodr@17848 35 mkdir -p $fs/usr/share/monkey/samples
necrophcodr@17848 36 mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
necrophcodr@17848 37 }