wok-next view pgbadger/receipt @ rev 18946

Add pgbadger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 18:08:24 2016 +0100 (2016-03-03)
parents
children d5aab818505e
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 }