wok annotate yaws/receipt @ rev 18956

Add python-peak-rules package; add it to python-turbogears dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 09 02:21:29 2016 +0200 (2016-03-09)
parents 617dbdeb6f7e
children a1dd1349c0f0
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"
pascal@15362 8 LICENSE="BSD"
allan316@3844 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3844 10 WEB_SITE="http://yaws.hyber.org"
allan316@3844 11 WGET_URL="$WEB_SITE/download/$TARBALL"
jozee@4977 12 TAGS="webserver"
allan316@3844 13
pascal@15598 14 DEPENDS="erlang pam pkg-config"
pascal@15259 15 BUILD_DEPENDS="erlang pam-dev"
pascal@15259 16
allan316@3844 17 # Rules to configure and make the package.
allan316@3844 18 compile_rules()
allan316@3844 19 {
pascal@9005 20 cd $src/yaws
allan316@3844 21 ./configure \
allan316@3844 22 --prefix=/usr \
allan316@3844 23 --localstatedir=/var \
allan316@3844 24 --sysconfdir=/etc \
allan316@3844 25 --infodir=/usr/share/info \
allan316@3844 26 --mandir=/usr/share/man \
allan316@3844 27 $CONFIGURE_ARGS &&
pascal@15259 28 make && make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf
allan316@3844 29 }
allan316@3844 30
allan316@3844 31 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3844 32 genpkg_rules()
allan316@3844 33 {
allan316@3844 34 mkdir -p $fs/usr
pascal@15259 35 cp -a $install/usr/bin $fs/usr
pascal@15259 36 cp -a $install/usr/lib $fs/usr
pascal@15259 37 cp -a $install/etc $fs
pascal@15259 38 cp -a $install/var $fs
allan316@3844 39 }
allan316@3844 40