wok-current view pgbadger/receipt @ rev 25413
updated wkhtmltopdf (0.12.5 -> 0.12.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:30:32 2022 +0100 (2022-08-04) |
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 }