Files
haikuports/media-sound/vorbis_tools/vorbis_tools-1.4.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

85 lines
2.1 KiB
Plaintext

SUMMARY="Tools for using the Ogg Vorbis sound file format"
DESCRIPTION="
vorbis-tools - tools for using the Ogg Vorbis sound file format.
"
HOMEPAGE="http://www.vorbis.com/"
SRC_URI="http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz"
CHECKSUM_SHA256="a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000-2005 Michael Smith, Stan Seibert and other contributers"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
vorbis_tools = $portVersion compat >= 1
cmd:oggenc$secondaryArchSuffix
cmd:oggdec$secondaryArchSuffix
cmd:ogginfo$secondaryArchSuffix
cmd:vcut$secondaryArchSuffix
cmd:vorbiscomment$secondaryArchSuffix
cmd:ogg123$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libFLAC$secondaryArchSuffix
lib:libspeex$secondaryArchSuffix
lib:libao$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libvorbisfile$secondaryArchSuffix
lib:libvorbisenc$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libvorbis$secondaryArchSuffix
devel:libFLAC$secondaryArchSuffix
devel:libspeex$secondaryArchSuffix
devel:libao$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libvorbisfile$secondaryArchSuffix
devel:libvorbisenc$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="vorbis_tools-1.4.0.patch"
SOURCE_DIR="vorbis-tools-$portVersion"
BUILD()
{
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
libtoolize --force --copy --install
aclocal -I m4
automake
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}