mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
68 lines
1.5 KiB
Plaintext
68 lines
1.5 KiB
Plaintext
SUMMARY="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/"
|
|
SRC_URI="http://sourceforge.net/projects/mpg123/files/mpg123/1.12.1/mpg123-1.12.1.tar.bz2/download"
|
|
CHECKSUM_SHA256="f3cfe305832c4a6a56d105ec1b47e7963d5d809cb17447ee93ae2330f2365a72"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
#DEPEND="media-libs/libsdl >= 1.2"
|
|
|
|
PROVIDES="
|
|
mpg123$secondaryArchSuffix = $portVersion
|
|
lib:libmpg123$secondaryArchSuffix
|
|
cmd:mpg123$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:autoconf
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCHES="mpg123-1.12.1.patch"
|
|
BUILD()
|
|
{
|
|
sed -i "s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS," configure.ac
|
|
libtoolize --force --copy --install
|
|
autoreconf --force --install
|
|
LDFLAGS="-lnetwork" runConfigure ./configure --disable-aligncheck
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLib libmpg123
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
mpg123${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmpg123$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
mpg123$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="1995-2009 Michael Hipp and others"
|