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="https://www.mpg123.org/" COPYRIGHT="1995-2016 Michael Hipp and others" LICENSE="GNU LGPL v2.1" REVISION="1" SOURCE_URI="http://downloads.sourceforge.net/mpg123/mpg123-$portVersion.tar.bz2" CHECKSUM_SHA256="934047120953159e364c790e059684b681d7e670884fe179e1954d17d1c6334b" 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.4 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.4 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 rm $libDir/lib*.la $libDir/mpg123/output_dummy.la prepareInstalledDevelLibs \ libmpg123 \ libout123 fixPkgconfig packageEntries devel $developDir } TEST() { make check }