wok-current rev 18946
Add pgbadger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 18:08:24 2016 +0100 (2016-03-03) |
parents | 242a848c64ec |
children | 278af74ed921 |
files | pgbadger/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pgbadger/receipt Thu Mar 03 18:08:24 2016 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pgbadger" 1.7 +VERSION="8.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="A fast PostgreSQL Log Analyzer" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/dalibo/pgbadger/" 1.14 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="perl" 1.17 +BUILD_DEPENDS="perl" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + perl Makefile.PL --prefix=/usr && 1.23 + make && 1.24 + make DESTDIR=$DESTDIR install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/usr $fs/ 1.31 +}