Files
haikuports/media-sound/mpg123/mpg123-1.23.4.recipe
fbrosson a09f3dc920 mpg123: bump to 1.23.4 with miscellaneous minor changes. (#612)
* Drop unrecognized "--disable-aligncheck" configure option.
* Add " = $portVersion" to every cmd: in PROVIDES.
* Add cmd:autoheader and cmd:automake to BUILD_PREREQUIRES.
* Drop cmd:{awk,find,autoreconf} and unneeded call to autoreconf.
* Drop unneeded "LDFLAGS=-lnetwork" as configure finds it anyway.
2016-05-26 18:20:21 -04:00

73 lines
1.7 KiB
Bash

SUMMARY="A fast console MPEG audio player and decoder library"
DESCRIPTION="mpg123 is the fast and free console based real time MPEG audio \
player for layer 1, 2 and 3."
HOMEPAGE="http://www.mpg123.org/"
COPYRIGHT="1995-2016 Michael Hipp and others"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://downloads.sf.net/mpg123/mpg123-$portVersion.tar.bz2"
CHECKSUM_SHA256="3495e678dec9a60f29cbcd4fc698abc4c811ec60d1276e744f7a10ac35023b48"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
mpg123$secondaryArchSuffix = $portVersion
lib:libmpg123$secondaryArchSuffix = 0.42.2 compat >= 0
lib:libout123$secondaryArchSuffix = 0.1.3 compat >= 0
cmd:mpg123$secondaryArchSuffix = $portVersion
cmd:mpg123_id3dump$secondaryArchSuffix = $portVersion
cmd:mpg123_strip$secondaryArchSuffix = $portVersion
cmd:out123$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libltdl$secondaryArchSuffix
"
PROVIDES_devel="
mpg123${secondaryArchSuffix}_devel = $portVersion
devel:libmpg123$secondaryArchSuffix = 0.42.2 compat >= 0
devel:libout123$secondaryArchSuffix = 0.1.3 compat >= 0
"
REQUIRES_devel="
haiku$secondaryArchSuffix
mpg123$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libmpg123 \
libout123
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}