mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
71 lines
1.7 KiB
Bash
71 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="5c431da7e7446fae586c9207772dc0038ce2bfe75f0274a7933d1b4a7d84e6c6"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
PROVIDES="
|
|
mpg123$secondaryArchSuffix = $portVersion
|
|
lib:libmpg123$secondaryArchSuffix = 0.42.1 compat >= 0
|
|
lib:libout123$secondaryArchSuffix = 0.1.1 compat >= 0
|
|
cmd:mpg123$secondaryArchSuffix
|
|
cmd:mpg123_id3dump$secondaryArchSuffix
|
|
cmd:mpg123_strip$secondaryArchSuffix
|
|
cmd:out123$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libltdl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mpg123${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmpg123$secondaryArchSuffix = 0.42.1 compat >= 0
|
|
devel:libout123$secondaryArchSuffix = 0.1.1 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
mpg123$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:autoconf
|
|
cmd:autoreconf
|
|
cmd:libtool
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
LDFLAGS="-lnetwork" runConfigure ./configure --disable-aligncheck
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs \
|
|
libmpg123 \
|
|
libout123
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|