SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libvalhalla"

# SliTaz package receipt.

PACKAGE="libvalhalla"
VERSION="2.0.0"
CATEGORY="multimedia"
SHORT_DESC="A tiny media scanner API."
MAINTAINER="pankso@slitaz.org"
DEPENDS="ffmpeg libexif sqlite libxml2 libgcrypt libcurl libcrypto"
BUILD_DEPENDS="ffmpeg-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://libvalhalla.geexbox.org/"
WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    # Fix build with curl >= 7.21.2
    sed -i '/#include <curl\/types.h>/d' src/url_utils.c

    sed -i 's/cat -n/awk '"'"'{ printf "%6d  %s\\n",++n,$0 }'"'"' </' configure
    # Fix configure for GCC 4.5.0
    sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
    ./configure \
        --prefix=/usr &&
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)