SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmms"

# SliTaz package receipt.

PACKAGE="libmms"
VERSION="0.6.4"
CATEGORY="development"
SHORT_DESC="A common library for parsing mms and mmsh streams."
MAINTAINER="slitaz@kacper.se"
LICENSE="LGPL2.1"
WEB_SITE="https://launchpad.net/libmms"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="glib"
BUILD_DEPENDS="glib-dev pkg-config"

HOST_ARCH="i486 x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects//libmms/files/libmms/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/libmms/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
#    patch -p1 -i $stuff/libmms.patch

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

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