wok view yaws/receipt @ rev 25344
updated tahoe-lafs (1.13.0 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:43:39 2022 +0100 (2022-07-25) |
parents | 5ea0ce1cecc0 |
children | f2b4a9eb8bdd |
line source
1 # SliTaz package receipt.
3 PACKAGE="yaws"
4 VERSION="2.1.1"
5 CATEGORY="development"
6 TAGS="webserver"
7 SHORT_DESC="Webserver for dynamic content written in Erlang."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="http://yaws.hyber.org"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/erlyaws/$PACKAGE/archive/$TARBALL"
15 DEPENDS="erlang pam pkg-config"
16 BUILD_DEPENDS="autoconf automake erlang gawk libtool pam-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/yaws-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf -fi &&
28 ./configure \
29 --prefix=/usr \
30 --localstatedir=/var \
31 --sysconfdir=/etc \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/etc $fs
47 cp -a $install/var $fs
48 }