wok view yaws/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents f2b4a9eb8bdd
children
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 '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;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 }