wok annotate pgbadger/receipt @ rev 24891

lynx: use ncursesw (tanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 07:20:18 2022 +0000 (2022-04-07)
parents e28ff3691c2a
children 0262035dc1e7
rev   line source
pascal@18946 1 # SliTaz package receipt.
pascal@18946 2
pascal@18946 3 PACKAGE="pgbadger"
Hans-G?nter@23423 4 VERSION="11.2"
pascal@18946 5 CATEGORY="misc"
Hans-G?nter@21677 6 SHORT_DESC="A fast PostgreSQL Log Analyzer."
pascal@18946 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18946 8 LICENSE="BSD"
Hans-G?nter@21677 9 WEB_SITE="https://pgbadger.darold.net/"
Hans-G?nter@21677 10
pascal@18946 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21677 12 WGET_URL="https://github.com/darold/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@18946 13
pascal@18946 14 DEPENDS="perl"
pascal@18946 15 BUILD_DEPENDS="perl"
pascal@18946 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@18946 23 # Rules to configure and make the package.
pascal@18946 24 compile_rules()
pascal@18946 25 {
pascal@18946 26 perl Makefile.PL --prefix=/usr &&
pascal@18946 27 make &&
pascal@18946 28 make DESTDIR=$DESTDIR install
pascal@18946 29 }
pascal@18946 30
pascal@18946 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18946 32 genpkg_rules()
pascal@18946 33 {
Hans-G?nter@23423 34 cp -a $install/usr $fs
pascal@18946 35 }