wok view pgbadger/receipt @ rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
parents e28ff3691c2a
children 0262035dc1e7
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 }