wok-6.x view yaws/receipt @ rev 11226

Add from wok-undigest: nvclock ola ola-dev owfs oxine protobuf protobuf-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 11:10:38 2011 +0100 (2011-11-04)
parents bec18999886e
children 67f9f7889c21
line source
1 # SliTaz package receipt.
3 PACKAGE="yaws"
4 VERSION="1.84"
5 CATEGORY="development"
6 SHORT_DESC="http webserver written in erlang"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="erlang pam"
9 BUILD_DEPENDS="erlang pam-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://yaws.hyber.org"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
13 TAGS="webserver"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/yaws
19 ./configure \
20 --prefix=/usr \
21 --localstatedir=/var \
22 --sysconfdir=/etc \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/../_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/etc $fs
36 cp -a $_pkg/var $fs
37 }