SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "centerim"

# SliTaz package receipt.

PACKAGE="centerim"
VERSION="4.22.10"
CATEGORY="network"
SHORT_DESC="Console mode IM"
MAINTAINER="allan316@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/petrpavlu/centerim5"
WGET_URL="https://mirrors.aliyun.com/ubuntu-ports/pool/universe/c/centerim/centerim_$VERSION.orig.tar.gz"
TAGS="im instant-messenger cli command-line"

DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
gpgme-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/petrpavlu/centerim5/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
    mkdir -p $DESTDIR/usr
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/centerim $fs/usr/share    
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)