wok-current 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 | 7d5789c51e7e |
children | b5c9023ea138 |
files | monkey-dev/receipt monkey/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/monkey-dev/receipt Tue Mar 24 15:46:17 2015 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="monkey-dev" 1.7 +VERSION="1.5.6" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Lightweight HTTP server - dev files" 1.10 +MAINTAINER="necrophcodr@necrophcodr.me" 1.11 +LICENSE="APL2" 1.12 +WEB_SITE="http://monkey-project.com" 1.13 +WANTED="monkey" 1.14 + 1.15 +DEPENDS="monkey" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib $fs/usr 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/monkey/receipt Tue Mar 24 15:46:17 2015 +0000 2.3 @@ -0,0 +1,37 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="monkey" 2.7 +VERSION="1.5.6" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Lightweight HTTP server" 2.10 +MAINTAINER="necrophcodr@necrophcodr.me" 2.11 +LICENSE="APL2" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://monkey-project.com" 2.14 +WGET_URL="$WEB_SITE/releases/1.5/$TARBALL" 2.15 + 2.16 +DEPENDS="" 2.17 +BUILD_DEPENDS="findutils" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./configure --enable-shared --prefix=/usr --datadir=/var/www \ 2.23 + --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \ 2.24 + --disable-plugins=mbedtls --mandir=/usr/share/man \ 2.25 + --plugdir=/usr/share/monkey/plugins && 2.26 + make && 2.27 + make DESTDIR=$install install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr 2.34 + cp -a $install/usr/bin $fs/usr/ 2.35 + cp -a $install/usr/share $fs/usr/ 2.36 + cp -a $install/etc $fs/ 2.37 + cp -a $install/var $fs/ 2.38 + mkdir -p $fs/usr/share/monkey/samples 2.39 + mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs 2.40 +}