wok annotate pgbadger/receipt @ rev 20371

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