SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yaws"

# SliTaz package receipt.

PACKAGE="yaws"
VERSION="2.1.1"
CATEGORY="development"
TAGS="webserver"
SHORT_DESC="Webserver for dynamic content written in Erlang."
MAINTAINER="allan316@gmail.com"
LICENSE="BSD"
WEB_SITE="https://github.com/erlyaws/yaws"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/erlyaws/$PACKAGE/archive/$TARBALL"

DEPENDS="erlang pam pkg-config"
BUILD_DEPENDS="autoconf automake erlang gawk libtool pam-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -fi &&
    ./configure                \
        --prefix=/usr            \
        --localstatedir=/var        \
        --sysconfdir=/etc        \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

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

    cp -a $install/usr/bin    $fs/usr
    cp -a $install/usr/lib    $fs/usr
    cp -a $install/etc    $fs
    cp -a $install/var    $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)