mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
82 lines
1.8 KiB
Bash
82 lines
1.8 KiB
Bash
SUMMARY="A MPEG Audio Layer 2 encoder"
|
|
DESCRIPTION="TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based \
|
|
on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and \
|
|
portions of LAME."
|
|
HOMEPAGE="https://www.twolame.org"
|
|
COPYRIGHT="2004-2018 The TwoLAME Project"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="3"
|
|
SOURCE_URI="https://downloads.sourceforge.net/twolame/twolame-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
twolame$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libtwolame$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsndfile$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
twolame${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libtwolame$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
twolame$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
PROVIDES_bin="
|
|
twolame${secondaryArchSuffix}_bin = $portVersion compat >= 0
|
|
cmd:twolame$secondaryArchSuffix
|
|
"
|
|
REQUIRES_bin="
|
|
twolame$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
lib:libsndfile$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsndfile$secondaryArchSuffix
|
|
"
|
|
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()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libtwolame.la
|
|
|
|
prepareInstalledDevelLib libtwolame
|
|
fixPkgconfig
|
|
|
|
packageEntries bin $binDir $docDir $manDir
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|