SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sic"

# SliTaz package receipt.

PACKAGE="sic"
VERSION="1.2"
CATEGORY="network"
SHORT_DESC="Simple IRC client."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://tools.suckless.org/sic"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://dl.suckless.org/tools/$TARBALL"

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

# Rules to configure and make the package.
compile_rules()
{
    make clean &&
    make install PREFIX=/usr DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)