wok-current annotate yaws/receipt @ rev 3844
add yaws - webserver written in erlang
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri Aug 07 17:00:32 2009 +0000 (2009-08-07) |
parents | |
children | bec18999886e |
rev | line source |
---|---|
allan316@3844 | 1 # SliTaz package receipt. |
allan316@3844 | 2 |
allan316@3844 | 3 PACKAGE="yaws" |
allan316@3844 | 4 VERSION="1.84" |
allan316@3844 | 5 CATEGORY="development" |
allan316@3844 | 6 SHORT_DESC="http webserver written in erlang" |
allan316@3844 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3844 | 8 DEPENDS="erlang pam" |
allan316@3844 | 9 BUILD_DEPENDS="erlang pam-dev" |
allan316@3844 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3844 | 11 WEB_SITE="http://yaws.hyber.org" |
allan316@3844 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
allan316@3844 | 13 |
allan316@3844 | 14 # Rules to configure and make the package. |
allan316@3844 | 15 compile_rules() |
allan316@3844 | 16 { |
allan316@3844 | 17 cd $src |
allan316@3844 | 18 ./configure \ |
allan316@3844 | 19 --prefix=/usr \ |
allan316@3844 | 20 --localstatedir=/var \ |
allan316@3844 | 21 --sysconfdir=/etc \ |
allan316@3844 | 22 --infodir=/usr/share/info \ |
allan316@3844 | 23 --mandir=/usr/share/man \ |
allan316@3844 | 24 $CONFIGURE_ARGS && |
allan316@3844 | 25 make && make DESTDIR=$PWD/_pkg install |
allan316@3844 | 26 } |
allan316@3844 | 27 |
allan316@3844 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3844 | 29 genpkg_rules() |
allan316@3844 | 30 { |
allan316@3844 | 31 mkdir -p $fs/usr |
allan316@3844 | 32 cp -a $_pkg/usr/bin $fs/usr |
allan316@3844 | 33 cp -a $_pkg/usr/lib $fs/usr |
allan316@3844 | 34 cp -a $_pkg/etc $fs |
allan316@3844 | 35 cp -a $_pkg/var $fs |
allan316@3844 | 36 } |
allan316@3844 | 37 |