wok view yaws/receipt @ rev 9331
Fix: docbook-xml (we need 4.2 DTD file to cook kdelibs)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:16:28 2011 +0100 (2011-03-18) |
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 }