wok-current annotate thttpd/receipt @ rev 22644
updated deutex-devel (5.1.2 -> 5.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 14 08:11:28 2020 +0100 (2020-01-14) |
parents | dead8955c3ca |
children | ad8b9ff412d2 |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="thttpd" |
Hans-G?nter@22027 | 4 VERSION="2.29" |
pascal@11227 | 5 CATEGORY="network" |
Hans-G?nter@22027 | 6 SHORT_DESC="Throttleable lightweight httpd server." |
pascal@11227 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15265 | 8 LICENSE="BSD" |
Hans-G?nter@22027 | 9 WEB_SITE="https://www.acme.com/software/thttpd/" |
Hans-G?nter@22027 | 10 |
pascal@11227 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22027 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@11227 | 13 |
pascal@15265 | 14 DEPENDS="" |
pascal@15265 | 15 |
pascal@11227 | 16 # Rules to configure and make the package. |
pascal@11227 | 17 compile_rules() |
pascal@11227 | 18 { |
Hans-G?nter@22027 | 19 # 2.25b |
Hans-G?nter@22027 | 20 # patch -p1 -i $stuff/htpassword.c.u || exit 1 |
Hans-G?nter@22027 | 21 |
Hans-G?nter@22027 | 22 ./configure \ |
Hans-G?nter@22027 | 23 --prefix=/usr \ |
Hans-G?nter@22027 | 24 --infodir=/usr/share/info \ |
Hans-G?nter@22027 | 25 --mandir=/usr/share/man \ |
pascal@11227 | 26 $CONFIGURE_ARGS && |
pascal@15265 | 27 make |
pascal@11227 | 28 } |
pascal@11227 | 29 |
pascal@11227 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 31 genpkg_rules() |
pascal@11227 | 32 { |
Hans-G?nter@22027 | 33 mkdir -p $fs/usr/sbin |
Hans-G?nter@22027 | 34 mkdir -p $fs/var/log/thttpd |
Hans-G?nter@22027 | 35 |
Hans-G?nter@22027 | 36 cp -a $src/thttpd $fs/usr/sbin |
Hans-G?nter@22027 | 37 cp -a $src/extras/htpasswd $fs/usr/sbin |
Hans-G?nter@22027 | 38 cp -a $src/extras/syslogtocern $fs/usr/sbin |
Hans-G?nter@22027 | 39 cp -a stuff/etc $fs/ |
pascal@11227 | 40 } |