wok-6.x annotate squidview/receipt @ rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents bf50132c9c5e
children
rev   line source
pascal@16145 1 # SliTaz package receipt.
pascal@16145 2
pascal@16145 3 PACKAGE="squidview"
Hans-G?nter@21953 4 VERSION="0.86"
pascal@16145 5 CATEGORY="network"
pascal@16145 6 SHORT_DESC="Monitors and displays squid logs in console."
pascal@16145 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16145 8 LICENSE="GPL2"
Hans-G?nter@21953 9 WEB_SITE="http://www.rillion.net/squidview/"
Hans-G?nter@21953 10
pascal@16145 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16145 12 WGET_URL="$WEB_SITE$TARBALL"
pascal@16145 13
Hans-G?nter@21953 14 DEPENDS="gcc-lib-base ncurses"
pascal@16145 15 BUILD_DEPENDS="ncurses-dev"
pascal@16145 16
pascal@24094 17 current_version()
pascal@24094 18 {
pascal@24094 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24094 20 sed '/the source/!d;s|.*view-||;s|.tar.*||'
pascal@24094 21 }
pascal@24094 22
pascal@16145 23 # Rules to configure and make the package.
pascal@16145 24 compile_rules()
pascal@16145 25 {
pascal@17672 26 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21953 27
Hans-G?nter@21953 28 ./configure \
Hans-G?nter@21953 29 --prefix=/usr \
Hans-G?nter@21953 30 --mandir=/usr/share/man \
Hans-G?nter@21953 31 $CONFIGURE_ARGS &&
pascal@16145 32 make &&
pascal@16145 33 make DESTDIR=$DESTDIR install
pascal@16145 34 }
pascal@16145 35
pascal@16145 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16145 37 genpkg_rules()
pascal@16145 38 {
pascal@16145 39 mkdir -p $fs/usr
pascal@16145 40 cp -a $install/usr/bin $fs/usr
pascal@16145 41 }