SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fbff"

# SliTaz package receipt.

PACKAGE="fbff"
VERSION="20170211"
CATEGORY="multimedia"
TAGS="video"
SHORT_DESC="FFmpeg client in frame buffer."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://repo.or.cz/w/fbff.git"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="git|git://repo.or.cz/fbff.git"

DEPENDS="ffmpeg zlib"
BUILD_DEPENDS="ffmpeg-dev zlib-dev libgnutls"
HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/shortlog 2>/dev/null | \
    sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    case "$ARCH" in
        arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;;
    esac &&
    sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
    make
}


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