Files
haikuports/dev-libs/libebml/libebml-1.3.4.recipe
Sergei Reznikov dcc0fda83a libebml: bump version to 1.3.4
remove libtool file.
2016-07-25 15:52:02 +03:00

72 lines
1.5 KiB
Bash

SUMMARY="A C++ library to parse EBML content (read/write)"
DESCRIPTION="libebml is a C++ library to parse EBML content (read/write)."
HOMEPAGE="https://www.matroska.org/"
COPYRIGHT="2005-2016 Matroska"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://dl.matroska.org/downloads/libebml/libebml-$portVersion.tar.bz2"
CHECKSUM_SHA256="c50d3ecf133742c6549c0669c3873f968e11a365a5ba17b2f4dc339bbe51f387"
PATCHES="libebml-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libebml$secondaryArchSuffix = $portVersion
lib:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
"
REQUIRES="
haiku${secondaryArchSuffix}
"
PROVIDES_devel="
libebml${secondaryArchSuffix}_devel = $portVersion
devel:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
"
REQUIRES_devel="
libebml$secondaryArchSuffix == $portVersion base
"
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
REQUIRES_devel="$REQUIRES_devel
gcc$secondaryArchSuffix
"
fi
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoreconf -f -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm -f $libDir/libebml.la
prepareInstalledDevelLibs libebml
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}