wok-6.x annotate squidview/receipt @ rev 24998
Up rp-pppoe (3.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 16 10:11:22 2022 +0000 (2022-05-16) |
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 } |