wok annotate yaws/receipt @ rev 13714

Up sqlite (3.7.15.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 19 15:07:35 2012 +0100 (2012-12-19)
parents 6544a3b30593
children 95bda4665987
rev   line source
allan316@3844 1 # SliTaz package receipt.
allan316@3844 2
allan316@3844 3 PACKAGE="yaws"
samuel_trassare@11878 4 VERSION="1.91"
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"
jozee@4977 13 TAGS="webserver"
allan316@3844 14
allan316@3844 15 # Rules to configure and make the package.
allan316@3844 16 compile_rules()
allan316@3844 17 {
pascal@9005 18 cd $src/yaws
allan316@3844 19 ./configure \
allan316@3844 20 --prefix=/usr \
allan316@3844 21 --localstatedir=/var \
allan316@3844 22 --sysconfdir=/etc \
allan316@3844 23 --infodir=/usr/share/info \
allan316@3844 24 --mandir=/usr/share/man \
allan316@3844 25 $CONFIGURE_ARGS &&
pascal@9005 26 make && make DESTDIR=$PWD/../_pkg install
allan316@3844 27 }
allan316@3844 28
allan316@3844 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3844 30 genpkg_rules()
allan316@3844 31 {
allan316@3844 32 mkdir -p $fs/usr
allan316@3844 33 cp -a $_pkg/usr/bin $fs/usr
allan316@3844 34 cp -a $_pkg/usr/lib $fs/usr
allan316@3844 35 cp -a $_pkg/etc $fs
allan316@3844 36 cp -a $_pkg/var $fs
allan316@3844 37 }
allan316@3844 38