wok-next diff yaws/receipt @ rev 20715
Up nsd (4.1.21)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 13:10:46 2018 +0300 (2018-05-27) |
parents | d43bf7aae921 |
children | d5aab818505e |
line diff
1.1 --- a/yaws/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/yaws/receipt Sun May 27 13:10:46 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="yaws" 1.8 VERSION="1.91" 1.9 @@ -6,35 +6,22 @@ 1.10 SHORT_DESC="http webserver written in erlang" 1.11 MAINTAINER="allan316@gmail.com" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="http://yaws.hyber.org" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://yaws.hyber.org" 1.17 WGET_URL="$WEB_SITE/download/$TARBALL" 1.18 -TAGS="webserver" 1.19 1.20 -DEPENDS="erlang pam" 1.21 BUILD_DEPENDS="erlang pam-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 cd $src/yaws 1.28 - ./configure \ 1.29 - --prefix=/usr \ 1.30 - --localstatedir=/var \ 1.31 - --sysconfdir=/etc \ 1.32 - --infodir=/usr/share/info \ 1.33 - --mandir=/usr/share/man \ 1.34 - $CONFIGURE_ARGS && 1.35 - make && make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf 1.36 + ./configure $CONFIGURE_ARGS && 1.37 + make && 1.38 + make DESTDIR=$DESTDIR install 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - cp -a $install/usr/lib $fs/usr 1.47 - cp -a $install/etc $fs 1.48 - cp -a $install/var $fs 1.49 +genpkg_rules() { 1.50 + copy @std 1.51 + DEPENDS="erlang pam" 1.52 + TAGS="webserver" 1.53 } 1.54 -