wok-next view yaws/receipt @ rev 19595

Up linux (4.9.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 17:27:31 2017 +0200 (2017-01-21)
parents 617dbdeb6f7e
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="yaws"
4 VERSION="1.91"
5 CATEGORY="development"
6 SHORT_DESC="http webserver written in erlang"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://yaws.hyber.org"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
12 TAGS="webserver"
14 DEPENDS="erlang pam pkg-config"
15 BUILD_DEPENDS="erlang pam-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/yaws
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/var $fs
39 }