mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
71 lines
1.5 KiB
Plaintext
71 lines
1.5 KiB
Plaintext
SUMMARY="libmatroska is a C++ libary to parse Matroska files."
|
|
DESCRIPTION="libmatroska is a C++ libary to parse Matroska files."
|
|
HOMEPAGE="http://www.matroska.org/"
|
|
SRC_URI="http://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="bea10320f1f1fd121bbd7db9ffc77b2518e8269f00903549c5425478bbf8393f"
|
|
REVISION="1"
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="2005-2013 CoreCodec, Inc."
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libmatroska$secondaryArchSuffix = $portVersion
|
|
lib:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libebml$secondaryArchSuffix
|
|
lib:libstdc++$secondaryArchSuffix
|
|
"
|
|
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
|
|
PATCHES="
|
|
libmatroska-$portVersion.patchset
|
|
"
|
|
else
|
|
REQUIRES+="
|
|
lib:libgcc_s${secondaryArchSuffix}
|
|
"
|
|
fi
|
|
BUILD_REQUIRES="
|
|
devel:libebml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -f -i
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libmatroska
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
libmatroska${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
|
"
|
|
REQUIRES_devel="
|
|
libmatroska$secondaryArchSuffix == $portVersion base
|
|
"
|