wok-6.x view pgbadger/receipt @ rev 24561
updated fping (4.2 -> 5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:30:10 2022 +0100 (2022-02-25) |
parents | e28ff3691c2a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pgbadger"
4 VERSION="11.2"
5 CATEGORY="misc"
6 SHORT_DESC="A fast PostgreSQL Log Analyzer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pgbadger.darold.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/darold/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 perl Makefile.PL --prefix=/usr &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }