SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bicon"

# SliTaz package receipt.

PACKAGE="bicon"
VERSION="0.5"
CATEGORY="localization"
SHORT_DESC="BiCon - The Bidirectional Console"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="PSF BSD PublicDomain LGPL2.1"
WEB_SITE="https://github.com/behdad/bicon"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"

DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp"
BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd file"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig

    # bash -> sh
    sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)