wok-6.x diff monkey/receipt @ rev 17848
Add: monkey-1.5.6
author | necrophcodr <necrophcodr@necrophcodr.me> |
---|---|
date | Tue Mar 24 15:46:17 2015 +0000 (2015-03-24) |
parents | |
children | d3eb5f4b53ea |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/monkey/receipt Tue Mar 24 15:46:17 2015 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="monkey" 1.7 +VERSION="1.5.6" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Lightweight HTTP server" 1.10 +MAINTAINER="necrophcodr@necrophcodr.me" 1.11 +LICENSE="APL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://monkey-project.com" 1.14 +WGET_URL="$WEB_SITE/releases/1.5/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="findutils" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./configure --enable-shared --prefix=/usr --datadir=/var/www \ 1.23 + --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \ 1.24 + --disable-plugins=mbedtls --mandir=/usr/share/man \ 1.25 + --plugdir=/usr/share/monkey/plugins && 1.26 + make && 1.27 + make DESTDIR=$install install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $install/usr/bin $fs/usr/ 1.35 + cp -a $install/usr/share $fs/usr/ 1.36 + cp -a $install/etc $fs/ 1.37 + cp -a $install/var $fs/ 1.38 + mkdir -p $fs/usr/share/monkey/samples 1.39 + mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs 1.40 +}