SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rp-pppoe"

# SliTaz package receipt.

PACKAGE="rp-pppoe"
VERSION="3.15"
CATEGORY="network"
SHORT_DESC="A PPP over Ethernet client (for xDSL support)."
TAGS="network PPPoE"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://dianne.skoll.ca/projects/rp-pppoe/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://web.archive.org/web/20230128134207if_/https://dianne.skoll.ca/projects/rp-pppoe/download/$TARBALL"

BUILD_DEPENDS="ppp"

HOST_ARCH="i486"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/src
    ./configure        \
        --prefix=/usr    \
        $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/etc    $fs
    cp -a $install/usr/sbin    $fs/usr    

    # Fix permissions on all scripts
    chmod -R 755 $fs/usr/sbin/*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)