wok view yaws/receipt @ rev 4545

busybox/init: add loop & crypto support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 03 17:58:06 2009 +0100 (2009-12-03)
parents
children bec18999886e
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --localstatedir=/var \
21 --sysconfdir=/etc \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/var $fs
36 }