wok-next annotate thttpd/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="thttpd" |
pascal@11227 | 4 VERSION="2.25b" |
pascal@11227 | 5 CATEGORY="network" |
pascal@11227 | 6 SHORT_DESC="Throttleable lightweight httpd server" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15265 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="http://www.acme.com/software/thttpd/" |
al@21020 | 10 |
pascal@11227 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 12 WGET_URL="http://www.acme.com/software/thttpd/$TARBALL" |
pascal@11227 | 13 |
al@21020 | 14 compile_rules() { |
al@21020 | 15 ./configure $CONFIGURE_ARGS && |
al@21020 | 16 make || return 1 |
pascal@15265 | 17 |
al@21020 | 18 install -Dm755 thttpd $install/usr/sbin/thttpd |
al@21020 | 19 install -Dm755 extras/htpasswd $install/usr/sbin/htpasswd |
al@21020 | 20 install -Dm755 extras/syslogtocern $install/usr/sbin/syslogcern |
al@21020 | 21 |
al@21020 | 22 install -Dm644 $stuff/etc/init.d/thttpd $install/etc/init.d/thttpd |
al@21020 | 23 install -Dm644 $stuff/etc/thttpd/thttpd.conf $install/etc/thttpd/thttpd.conf |
al@21020 | 24 |
al@21020 | 25 mkdir -p $install/var/log/thttpd |
pascal@11227 | 26 } |
pascal@11227 | 27 |
al@21020 | 28 genpkg_rules() { |
al@21020 | 29 copy @std |
pascal@11227 | 30 } |