wok annotate thttpd/receipt @ rev 21326
updated libunwind and libunwind-dev (1.1 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 10:02:57 2019 +0100 (2019-04-19) |
parents | 1c6d90864e25 |
children | ad52c2b51c28 |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
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" |
pascal@11227 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15265 | 8 LICENSE="BSD" |
pascal@11227 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 10 WEB_SITE="http://www.acme.com/software/thttpd/" |
pascal@11227 | 11 WGET_URL="http://www.acme.com/software/thttpd/$TARBALL" |
pascal@11227 | 12 |
pascal@15265 | 13 DEPENDS="" |
pascal@15265 | 14 |
pascal@11227 | 15 # Rules to configure and make the package. |
pascal@11227 | 16 compile_rules() |
pascal@11227 | 17 { |
pascal@11227 | 18 cd $src |
pascal@11227 | 19 patch -p1 -i $stuff/htpassword.c.u || exit 1 |
pascal@11227 | 20 ./configure \ |
pascal@11227 | 21 --prefix=/usr \ |
pascal@11227 | 22 --infodir=/usr/share/info \ |
pascal@11227 | 23 --mandir=/usr/share/man \ |
pascal@11227 | 24 $CONFIGURE_ARGS && |
pascal@15265 | 25 make |
pascal@11227 | 26 } |
pascal@11227 | 27 |
pascal@11227 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 29 genpkg_rules() |
pascal@11227 | 30 { |
pascal@11227 | 31 mkdir -p $fs/usr/sbin \ |
pascal@11227 | 32 $fs/var/log/thttpd \ |
pascal@11227 | 33 |
pascal@11227 | 34 cp -a $src/thttpd $fs/usr/sbin |
pascal@11227 | 35 cp -a $src/extras/htpasswd $fs/usr/sbin |
pascal@11227 | 36 cp -a $src/extras/syslogtocern $fs/usr/sbin |
pascal@11227 | 37 cp -a stuff/etc $fs/ |
pascal@11227 | 38 } |
pascal@11227 | 39 |