wok-6.x view pgbadger/receipt @ rev 20445

Add python-singledispatch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 20 12:59:25 2018 +0200 (2018-09-20)
parents
children bfc7227f468e
line source
1 # SliTaz package receipt.
3 PACKAGE="pgbadger"
4 VERSION="8.0"
5 CATEGORY="misc"
6 SHORT_DESC="A fast PostgreSQL Log Analyzer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/dalibo/pgbadger/"
11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 perl Makefile.PL --prefix=/usr &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs/
28 }