wok view yaws/receipt @ rev 25594

Update some web_site/wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 11 10:40:23 2023 +0000 (17 months ago)
parents 92161a7a5d2e
children 0262035dc1e7
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="https://github.com/erlyaws/yaws"
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/yaws-\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -fi &&
29 ./configure \
30 --prefix=/usr \
31 --localstatedir=/var \
32 --sysconfdir=/etc \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/etc $fs
48 cp -a $install/var $fs
49 }