mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libshout: added recipe for version 2.4.1.
This commit is contained in:
77
media-libs/libshout/libshout-2.4.1.recipe
Normal file
77
media-libs/libshout/libshout-2.4.1.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="Portable Network Graphics library"
|
||||
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="1"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user