SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "squidview"

# SliTaz package receipt.

PACKAGE="squidview"
VERSION="0.86"
CATEGORY="network"
SHORT_DESC="Monitors and displays squid logs in console."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.rillion.net/squidview/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE$TARBALL"

DEPENDS="gcc-lib-base ncurses"
BUILD_DEPENDS="ncurses-dev"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/the source/!d;s|.*view-||;s|.tar.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"

    ./configure            \
        --prefix=/usr        \
        --mandir=/usr/share/man    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)