Files
haikuports/media-libs/libmms/libmms-0.5.recipe
2017-05-11 12:50:18 +02:00

69 lines
1.6 KiB
Bash

SUMMARY="A common library for parsing mms:// and mmsh:// type network streams"
DESCRIPTION="LibMMS is a common library for parsing mms:// and mmsh:// type \
network streams. These are commonly used to stream Windows Media Video \
content over the web. LibMMS itself is only for receiving MMS stream, it \
doesn't handle sending at all."
HOMEPAGE="https://launchpad.net/libmms"
COPYRIGHT="2009 Xine project"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://launchpad.net/libmms/trunk/$portVersion/+download/libmms-$portVersion.tar.gz"
CHECKSUM_SHA256="02d9ca2b16b1517b84edb6c1c378a1f447679a831ba708a0396b30852aa6f091"
PATCHES="libmms-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libmms$secondaryArchSuffix = $portVersion
lib:libmms$secondaryArchSuffix = 0.0.2 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
PROVIDES_devel="
libmms${secondaryArchSuffix}_devel = $portVersion
devel:libmms$secondaryArchSuffix = 0.0.2 compat >= 0
"
REQUIRES_devel="
libmms$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:libtoolize$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libmms.la
prepareInstalledDevelLib libmms
fixPkgconfig
packageEntries devel \
$developDir
}