# HG changeset patch # User Pascal Bellard # Date 1457024904 -3600 # Node ID b1d941edc6cc76365ce4215ab4702d326897ee67 # Parent 242a848c64ec3faa65c0d514840e429455d0be9d Add pgbadger diff -r 242a848c64ec -r b1d941edc6cc pgbadger/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pgbadger/receipt Thu Mar 03 18:08:24 2016 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pgbadger" +VERSION="8.0" +CATEGORY="misc" +SHORT_DESC="A fast PostgreSQL Log Analyzer" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/dalibo/pgbadger/" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" + +DEPENDS="perl" +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL --prefix=/usr && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}