wok-current annotate yaws/receipt @ rev 9005

yaws: fix source path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 17:56:34 2011 +0100 (2011-03-03)
parents bec18999886e
children 67f9f7889c21
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"
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