wok annotate monkey/receipt @ rev 19823
Up cookutils(887), yandex-disk: up bdeps and rebuild.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 02:42:35 2017 +0200 (2017-03-03) |
parents | 7bad8bebfb68 |
children | c6796c6304f6 |
rev | line source |
---|---|
necrophcodr@17848 | 1 # SliTaz package receipt. |
necrophcodr@17848 | 2 |
necrophcodr@17848 | 3 PACKAGE="monkey" |
necrophcodr@17848 | 4 VERSION="1.5.6" |
necrophcodr@17848 | 5 CATEGORY="network" |
necrophcodr@17848 | 6 SHORT_DESC="Lightweight HTTP server" |
necrophcodr@17848 | 7 MAINTAINER="necrophcodr@necrophcodr.me" |
necrophcodr@17848 | 8 LICENSE="APL2" |
necrophcodr@17848 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
necrophcodr@17848 | 10 WEB_SITE="http://monkey-project.com" |
pascal@17869 | 11 WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL" |
necrophcodr@17848 | 12 |
necrophcodr@17848 | 13 DEPENDS="" |
necrophcodr@17848 | 14 BUILD_DEPENDS="findutils" |
necrophcodr@17848 | 15 |
necrophcodr@17848 | 16 # Rules to configure and make the package. |
necrophcodr@17848 | 17 compile_rules() |
necrophcodr@17848 | 18 { |
necrophcodr@17848 | 19 ./configure --enable-shared --prefix=/usr --datadir=/var/www \ |
necrophcodr@17848 | 20 --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \ |
necrophcodr@17848 | 21 --disable-plugins=mbedtls --mandir=/usr/share/man \ |
necrophcodr@17848 | 22 --plugdir=/usr/share/monkey/plugins && |
necrophcodr@17848 | 23 make && |
necrophcodr@17848 | 24 make DESTDIR=$install install |
necrophcodr@17848 | 25 } |
necrophcodr@17848 | 26 |
necrophcodr@17848 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
necrophcodr@17848 | 28 genpkg_rules() |
necrophcodr@17848 | 29 { |
necrophcodr@17848 | 30 mkdir -p $fs/usr |
necrophcodr@17848 | 31 cp -a $install/usr/bin $fs/usr/ |
necrophcodr@17848 | 32 cp -a $install/usr/share $fs/usr/ |
necrophcodr@17848 | 33 cp -a $install/etc $fs/ |
necrophcodr@17848 | 34 cp -a $install/var $fs/ |
necrophcodr@17848 | 35 mkdir -p $fs/usr/share/monkey/samples |
necrophcodr@17848 | 36 mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs |
necrophcodr@17848 | 37 } |