SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "elinks-small"

# SliTaz package receipt.

PACKAGE="elinks-small"
VERSION="0.12pre6"
CATEGORY="network"
SHORT_DESC="Small Elinks www text browser version (no JS SSL GPM)"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
SOURCE="elinks"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://elinks.or.cz"
WGET_URL="$WEB_SITE/download/$TARBALL"
TAGS="web-browser"
#HOST_ARCH="i486 arm"

TAGS="browser web"
DEPENDS="bzip2 zlib libidn expat"
BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --enable-small \
        --enable-fastmem \
        --disable-backtrace \
        --without-gnutls \
        --without-openssl \
        --without-spidermonkey \
        --without-gpm \
        --without-x \
        $CONFIGURE_ARGS && 
    make && make DESTDIR=$DESTDIR install
}

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