wok view yaws/receipt @ rev 19294

sane-backends, scons, scrot, shell-fm, smake, soundtouch, wireless_tools: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 16:30:34 2016 +0200 (2016-07-06)
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 }