# HG changeset patch # User Hans-G?nter Theisgen # Date 1649523234 -3600 # Node ID 01ed9626bb9407a90761809cb288219fc1e2c3b8 # Parent e45212bb75442a4f8ead78918399f0d8ba288532 updated monkey and monkey-dev (1.5.6 -> 1.6.9) diff -r e45212bb7544 -r 01ed9626bb94 monkey-dev/receipt --- a/monkey-dev/receipt Sat Apr 09 16:53:38 2022 +0100 +++ b/monkey-dev/receipt Sat Apr 09 17:53:54 2022 +0100 @@ -1,20 +1,21 @@ # SliTaz package receipt. PACKAGE="monkey-dev" -VERSION="1.5.6" +VERSION="1.6.9" CATEGORY="development" SHORT_DESC="Lightweight HTTP server - dev files" MAINTAINER="necrophcodr@necrophcodr.me" LICENSE="APL2" -WEB_SITE="https://web.archive.org/web/20200229054452/http://monkey-project.com/" -WANTED="monkey" +WEB_SITE="http://monkey-project.com" DEPENDS="monkey" +WANTED="monkey" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib $fs/usr + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib $fs/usr } diff -r e45212bb7544 -r 01ed9626bb94 monkey/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/monkey/description.txt Sat Apr 09 17:53:54 2022 +0100 @@ -0,0 +1,5 @@ +Monkey is a lightweight and powerful web server and development stack +for Linux and OSX. +It has been designed to be very scalable with low memory and CPU +consumption, the perfect solution for embedded devices. +Made for ARM, x86 and x64. diff -r e45212bb7544 -r 01ed9626bb94 monkey/receipt --- a/monkey/receipt Sat Apr 09 16:53:38 2022 +0100 +++ b/monkey/receipt Sat Apr 09 17:53:54 2022 +0100 @@ -1,17 +1,17 @@ # SliTaz package receipt. PACKAGE="monkey" -VERSION="1.5.6" +VERSION="1.6.9" CATEGORY="network" -SHORT_DESC="Lightweight HTTP server" +SHORT_DESC="Lightweight HTTP server." MAINTAINER="necrophcodr@necrophcodr.me" LICENSE="APL2" +WEB_SITE="http://monkey-project.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://monkey-project.com/" -WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL" +WGET_URL="${WEB_SITE}releases/${VERSION%.*}/$TARBALL" DEPENDS="" -BUILD_DEPENDS="findutils" +BUILD_DEPENDS="cmake findutils" # What is the latest version available today? current_version() @@ -23,22 +23,29 @@ # Rules to configure and make the package. compile_rules() { - ./configure --enable-shared --prefix=/usr --datadir=/var/www \ - --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \ - --disable-plugins=mbedtls --mandir=/usr/share/man \ - --plugdir=/usr/share/monkey/plugins && + ./configure \ + --prefix=/usr \ + --webroot=/var/www \ + --sbindir=/usr/bin \ + --sysconfdir=/etc/monkey \ + --pidfile=monkey.pid \ + --default-user=www \ + --disable-plugins=mbedtls \ + --malloc-libc \ + --mandir=/usr/share/man && make && - make DESTDIR=$install install + make install DESTDIR=$install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr/ - cp -a $install/usr/share $fs/usr/ - cp -a $install/etc $fs/ - cp -a $install/var $fs/ mkdir -p $fs/usr/share/monkey/samples - mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share $fs/usr + cp -a $install/etc $fs + cp -a $install/var $fs + mv $fs/var/www $fs/usr/share/monkey/samples/htdocs }