SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ez-ipupdate"

# SliTaz package receipt.

PACKAGE="ez-ipupdate"
VERSION="3.0.11b7"
CATEGORY="network"
SHORT_DESC="Update your host name for some dynamic DNS services."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20120709060406/http://ez-ipupdate.com/"
WGET_URL="${WEB_SITE}dist/$TARBALL"
TAGS="DNS"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/ez-ipupdate/files/ez-ipupdate/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/ez-ipupdate/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    grep -q errno.h conf_file.h || echo "#include <errno.h>" >> conf_file.h
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --enable-default-service=dyndns \
    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}

5934 packages and 845775 files in cooking database (Mon Apr 22 00:00:56 2024)