wok-next view yaws/receipt @ rev 15320
ibus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 18:48:47 2013 +0000 (2013-09-27) |
parents | 67f9f7889c21 |
children | 617dbdeb6f7e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://yaws.hyber.org"
10 WGET_URL="$WEB_SITE/download/$TARBALL"
11 TAGS="webserver"
13 DEPENDS="erlang pam"
14 BUILD_DEPENDS="erlang pam-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/yaws
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --sysconfdir=/etc \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/etc $fs
37 cp -a $install/var $fs
38 }