mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
78 lines
1.7 KiB
Bash
78 lines
1.7 KiB
Bash
SUMMARY="Library for connecting and sending data to icecast servers"
|
|
DESCRIPTION="Libshout is a library for communicating with and sending data to \
|
|
an icecast server. It handles the socket connection, the timing of the \
|
|
data, and prevents bad data from getting to the icecast server."
|
|
HOMEPAGE="http://www.icecast.org/"
|
|
COPYRIGHT="2002-2012 the Icecast team
|
|
2011,2012 Xiph.Org Foundation
|
|
2012-2015 Philipp Schafft
|
|
2014 Michael Smith
|
|
2014 Brendan Cully
|
|
1995-1997 by Sam Rushing"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://downloads.xiph.org/releases/libshout/libshout-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libshout$secondaryArchSuffix = $portVersion
|
|
lib:libshout$secondaryArchSuffix = 3.2.0 compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libshout${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libshout$secondaryArchSuffix = 3.2.0 compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
libshout$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libvorbis$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libshout.la
|
|
|
|
prepareInstalledDevelLibs libshout
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$dataDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|