SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "haserl-lua"

# SliTaz package receipt.

PACKAGE="haserl-lua"
VERSION="0.9.36"
CATEGORY="network"
SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts."
MAINTAINER="milka@konstelacioj.info"
LICENSE="GPL2"
WEB_SITE="https://haserl.sourceforge.net/"

SOURCE="haserl"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"

SUGGESTED="bash lua lua-dev"
DEPENDS=""
BUILD_DEPENDS="glibc-dev lua lua-dev pkg-config"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --bindir=/usr/bin    \
        --with-lua        \
        --program-suffix=-lua    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)