HaikuPorter Guidelines to SoX

This commit is contained in:
Adrián Arroyo Calle
2015-08-28 14:33:47 +00:00
parent 46f92e19fe
commit 4b91a0efde

View File

@@ -1,16 +1,17 @@
SUMMARY="A command line utility to do audio format conversions"
DESCRIPTION="
SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility \
DESCRIPTION="SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility \
that can convert various formats of computer audio files in to other formats. \
It can also apply various effects to these sound files, and, as an added \
bonus, SoX can play and record audio files on most platforms
"
bonus, SoX can play and record audio files on most platforms."
HOMEPAGE="http://sox.sourceforge.net"
COPYRIGHT="1991-2015 Lance Norskog"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.bz2"
CHECKSUM_SHA256="81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c"
LICENSE="GNU GPL v2"
COPYRIGHT="1991-2015 Lance Norskog"
REVISION="1"
SOURCE_DIR="sox-14.4.2"
PATCHES="sox-14.4.2.patchset"
ARCHITECTURES="x86 !x86_gcc2 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -21,8 +22,7 @@ PROVIDES="
cmd:rec$secondaryArchSuffix = $portVersion
cmd:soxi$secondaryArchSuffix = $portVersion
lib:libsox$secondaryArchSuffix = 0.0.0 compat >= 0
"
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libflac$secondaryArchSuffix
@@ -31,7 +31,15 @@ REQUIRES="
lib:libmp3lame$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
"
"
PROVIDES_devel="
sox${secondaryArchSuffix}_devel = $portVersion
devel:libsox$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES_devel="
sox${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -41,18 +49,13 @@ BUILD_REQUIRES="
devel:libmp3lame$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
"
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:autoconf
"
PATCHES="sox-14.4.2.patchset"
SOURCE_DIR="sox-14.4.2"
"
BUILD()
{
@@ -69,12 +72,3 @@ INSTALL()
packageEntries devel $developDir
}
PROVIDES_devel="
sox${secondaryArchSuffix}_devel = $portVersion
devel:libsox$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES_devel="
sox${secondaryArchSuffix} == $portVersion base
"