wok rev 24916

updated monkey and monkey-dev (1.5.6 -> 1.6.9)
author Hans-G?nter Theisgen
date Sat Apr 09 17:53:54 2022 +0100 (2022-04-09)
parents e45212bb7544
children 0bfe034e9d09
files monkey-dev/receipt monkey/description.txt monkey/receipt
line diff
     1.1 --- a/monkey-dev/receipt	Sat Apr 09 16:53:38 2022 +0100
     1.2 +++ b/monkey-dev/receipt	Sat Apr 09 17:53:54 2022 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="monkey-dev"
     1.7 -VERSION="1.5.6"
     1.8 +VERSION="1.6.9"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Lightweight HTTP server - dev files"
    1.11  MAINTAINER="necrophcodr@necrophcodr.me"
    1.12  LICENSE="APL2"
    1.13 -WEB_SITE="https://web.archive.org/web/20200229054452/http://monkey-project.com/"
    1.14 -WANTED="monkey"
    1.15 +WEB_SITE="http://monkey-project.com"
    1.16  
    1.17  DEPENDS="monkey"
    1.18 +WANTED="monkey"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib $fs/usr
    1.26 +
    1.27 +	cp -a $install/usr/include	$fs/usr
    1.28 +	cp -a $install/usr/lib		$fs/usr
    1.29  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/monkey/description.txt	Sat Apr 09 17:53:54 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +Monkey is a lightweight and powerful web server and development stack
     2.5 +for Linux and OSX.
     2.6 +It has been designed to be very scalable with low memory and CPU
     2.7 +consumption, the perfect solution for embedded devices.
     2.8 +Made for ARM, x86 and x64.
     3.1 --- a/monkey/receipt	Sat Apr 09 16:53:38 2022 +0100
     3.2 +++ b/monkey/receipt	Sat Apr 09 17:53:54 2022 +0100
     3.3 @@ -1,17 +1,17 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="monkey"
     3.7 -VERSION="1.5.6"
     3.8 +VERSION="1.6.9"
     3.9  CATEGORY="network"
    3.10 -SHORT_DESC="Lightweight HTTP server"
    3.11 +SHORT_DESC="Lightweight HTTP server."
    3.12  MAINTAINER="necrophcodr@necrophcodr.me"
    3.13  LICENSE="APL2"
    3.14 +WEB_SITE="http://monkey-project.com/"
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="http://monkey-project.com/"
    3.17 -WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
    3.18 +WGET_URL="${WEB_SITE}releases/${VERSION%.*}/$TARBALL"
    3.19  
    3.20  DEPENDS=""
    3.21 -BUILD_DEPENDS="findutils"
    3.22 +BUILD_DEPENDS="cmake findutils"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -23,22 +23,29 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	./configure --enable-shared --prefix=/usr --datadir=/var/www \
    3.31 -	--pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
    3.32 -	--disable-plugins=mbedtls --mandir=/usr/share/man \
    3.33 -	--plugdir=/usr/share/monkey/plugins &&
    3.34 +	./configure					\
    3.35 +		--prefix=/usr				\
    3.36 +		--webroot=/var/www			\
    3.37 +		--sbindir=/usr/bin			\
    3.38 +		--sysconfdir=/etc/monkey		\
    3.39 +		--pidfile=monkey.pid			\
    3.40 +		--default-user=www			\
    3.41 +		--disable-plugins=mbedtls		\
    3.42 +		--malloc-libc				\
    3.43 +		--mandir=/usr/share/man	&&
    3.44  	make &&
    3.45 -	make DESTDIR=$install install
    3.46 +	make install DESTDIR=$install
    3.47  }
    3.48  
    3.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.50  genpkg_rules()
    3.51  {
    3.52 -	mkdir -p $fs/usr
    3.53 -	cp -a $install/usr/bin $fs/usr/
    3.54 -	cp -a $install/usr/share $fs/usr/
    3.55 -	cp -a $install/etc $fs/
    3.56 -	cp -a $install/var $fs/
    3.57  	mkdir -p $fs/usr/share/monkey/samples
    3.58 -	mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
    3.59 +
    3.60 +	cp -a $install/usr/bin		$fs/usr
    3.61 +	cp -a $install/usr/lib		$fs/usr
    3.62 +	cp -a $install/usr/share	$fs/usr
    3.63 +	cp -a $install/etc		$fs
    3.64 +	cp -a $install/var		$fs
    3.65 +	mv $fs/var/www			$fs/usr/share/monkey/samples/htdocs
    3.66  }