wok-current view yaws/receipt @ rev 13885

Up: slitaz-base-files (5.4)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 17 19:28:43 2013 +0100 (2013-01-17)
parents 6544a3b30593
children 95bda4665987
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 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 }