wok-stable annotate yaws/receipt @ rev 5719
Up dmsetup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 15:08:46 2010 +0200 (2010-06-24) |
parents | ae8b3644d73d |
children | 6544a3b30593 |
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 { |
allan316@3844 | 18 cd $src |
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 && |
allan316@3844 | 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 |