wok-current view yaws/receipt @ rev 10007
couchdb: erlang is need also to build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 01:59:58 2011 +0200 (2011-05-19) |
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 }