wok-4.x view yaws/receipt @ rev 4712

Up: ntfs-3g* (2009.11.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jan 04 21:52:33 2010 +0100 (2010-01-04)
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 }