mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
65 lines
1.4 KiB
Bash
65 lines
1.4 KiB
Bash
SUMMARY="A lightweight Matroska muxer"
|
|
DESCRIPTION="libmkv is a lightweight Matroska muxer originally written for \
|
|
HandBrake. The library is meant to be an alternative to the official \
|
|
libmatroska library. It is written in plain C, and intended to be very \
|
|
portable."
|
|
HOMEPAGE="https://github.com/saintdev/libmkv"
|
|
COPYRIGHT="2007 libmkv"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="6"
|
|
SOURCE_URI="https://github.com/saintdev/libmkv/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="41f08a08bab354f9834fda1dcdd1dcf4a0c67ad18021eb980f808654464cef00"
|
|
SOURCE_FILENAME="libmkv-$portVersion.tar.gz"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libmkv$secondaryArchSuffix = $portVersion
|
|
lib:libmkv$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmkv${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmkv$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libmkv$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./bootstrap.sh
|
|
runConfigure ./configure --disable-static
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libmkv.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libmkv
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|