wok diff monkey/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 535c806240cc
children 65942c8606f4
line diff
     1.1 --- a/monkey/receipt	Thu Feb 17 12:02:46 2022 +0000
     1.2 +++ b/monkey/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,17 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="monkey"
     1.7 -VERSION="1.5.6"
     1.8 +VERSION="1.6.9"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Lightweight HTTP server"
    1.11 +SHORT_DESC="Lightweight HTTP server."
    1.12  MAINTAINER="necrophcodr@necrophcodr.me"
    1.13  LICENSE="APL2"
    1.14 +WEB_SITE="http://monkey-project.com/"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://monkey-project.com/"
    1.17 -WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}releases/${VERSION%.*}/$TARBALL"
    1.19  
    1.20  DEPENDS=""
    1.21 -BUILD_DEPENDS="findutils"
    1.22 +BUILD_DEPENDS="cmake findutils"
    1.23  
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26 @@ -23,22 +23,29 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure --enable-shared --prefix=/usr --datadir=/var/www \
    1.31 -	--pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
    1.32 -	--disable-plugins=mbedtls --mandir=/usr/share/man \
    1.33 -	--plugdir=/usr/share/monkey/plugins &&
    1.34 +	./configure					\
    1.35 +		--prefix=/usr				\
    1.36 +		--webroot=/var/www			\
    1.37 +		--sbindir=/usr/bin			\
    1.38 +		--sysconfdir=/etc/monkey		\
    1.39 +		--pidfile=monkey.pid			\
    1.40 +		--default-user=www			\
    1.41 +		--disable-plugins=mbedtls		\
    1.42 +		--malloc-libc				\
    1.43 +		--mandir=/usr/share/man	&&
    1.44  	make &&
    1.45 -	make DESTDIR=$install install
    1.46 +	make install DESTDIR=$install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/usr
    1.53 -	cp -a $install/usr/bin $fs/usr/
    1.54 -	cp -a $install/usr/share $fs/usr/
    1.55 -	cp -a $install/etc $fs/
    1.56 -	cp -a $install/var $fs/
    1.57  	mkdir -p $fs/usr/share/monkey/samples
    1.58 -	mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
    1.59 +
    1.60 +	cp -a $install/usr/bin		$fs/usr
    1.61 +	cp -a $install/usr/lib		$fs/usr
    1.62 +	cp -a $install/usr/share	$fs/usr
    1.63 +	cp -a $install/etc		$fs
    1.64 +	cp -a $install/var		$fs
    1.65 +	mv $fs/var/www			$fs/usr/share/monkey/samples/htdocs
    1.66  }