wok-6.x view yaws/receipt @ rev 15748
Up: links (2.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 03 10:34:44 2014 +0100 (2014-01-03) |
parents | 617dbdeb6f7e |
children | a1dd1349c0f0 |
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://yaws.hyber.org"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
12 TAGS="webserver"
14 DEPENDS="erlang pam pkg-config"
15 BUILD_DEPENDS="erlang pam-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/yaws
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/var $fs
39 }