SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "naim"

# SliTaz package receipt.

PACKAGE="naim"
VERSION="0.11.8.3.2"
CATEGORY="network"
SHORT_DESC="A console AIM, ICQ, IRC, and Lily CMC client."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://naim.n.ml.org/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"

DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/jwise/naim/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make -j 1 DESTDIR=$DESTDIR install
}

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