mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
85 lines
2.3 KiB
Bash
85 lines
2.3 KiB
Bash
SUMMARY="Open source UPnP Media Server"
|
|
DESCRIPTION="MediaTomb is an open source UPnP MediaServer"
|
|
HOMEPAGE="https://sourceforge.net/projects/mediatomb/"
|
|
COPYRIGHT="2005 Gena Batyan, Sergey 'Jin' Bostandzhyan, Leonhard Wimmer"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://downloads.sourceforge.net/mediatomb/mediatomb-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="31163c34a7b9d1c9735181737cb31306f29f1f2a0335fb4f53ecccf8f62f11cd"
|
|
PATCHES="mediatomb-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
mediatomb$secondaryArchSuffix = $portVersion
|
|
cmd:mediatomb$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
#lib:libavcodec$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libexif$secondaryArchSuffix
|
|
lib:libexpat$secondaryArchSuffix
|
|
#lib:libextractor$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libmagic$secondaryArchSuffix
|
|
#lib:libmozjs185$secondaryArchSuffix
|
|
#lib:libmp4v2$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libtag$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
#devel:libavcodec$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libexif$secondaryArchSuffix
|
|
devel:libexpat$secondaryArchSuffix
|
|
#devel:libextractor$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libmagic$secondaryArchSuffix
|
|
#devel:libmozjs185$secondaryArchSuffix
|
|
#devel:libmp4v2$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libtag$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:awk
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$commandBinDir #\
|
|
#--with-js-h="`finddir B_SYSTEM_DEVELOP_DIRECTORY`/headers/x86/js"
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|