mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
61 lines
1.1 KiB
Bash
61 lines
1.1 KiB
Bash
SUMMARY="A command-line program for playing FLAC audio files"
|
|
DESCRIPTION="flac-tools aims to be a complete set of tools for playing and \
|
|
manipulating audio files stored in the FLAC format. flac123 is the only \
|
|
component of flac-tools at this time."
|
|
HOMEPAGE="http://flac-tools.sourceforge.net/"
|
|
COPYRIGHT="2003-2012 Jake Angerman, Dan Johnson, Hans Oesterholt"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://downloads.sourceforge.net/flac-tools/flac123-$portVersion-release.tar.gz"
|
|
CHECKSUM_SHA256="1976efd54a918eadd3cb10b34c77cee009e21ae56274148afa01edf32654e47d"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
flac123 = $portVersion
|
|
cmd:flac123 = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libao
|
|
lib:libFLAC
|
|
lib:libogg
|
|
lib:libpopt
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libao
|
|
devel:libFLAC
|
|
devel:libogg
|
|
devel:libpopt
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
# No real test at the moment
|
|
make check
|
|
}
|