opus: renamed from libopus.

to match Gentoo nomenclature.
This commit is contained in:
Jerome Duval
2015-05-15 09:19:07 +00:00
parent 214348b09f
commit 7b28287743

View File

@@ -9,14 +9,14 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec.
HOMEPAGE="http://www.opus-codec.org"
COPYRIGHT="2001-2014 Xiph.org"
LICENSE="BSD (3-clause)"
SRC_URI="http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz"
SRC_URI="http://downloads.xiph.org/releases/opus/opus-$portVersion.tar.gz"
CHECKSUM_SHA256="b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95"
REVISION="2"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libopus$secondaryArchSuffix = $portVersion compat >= 1
lib:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5
opus$secondaryArchSuffix = $portVersion compat >= 1
lib:libopus$secondaryArchSuffix = 0.5.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -31,7 +31,6 @@ BUILD_PREREQUIRES="
cmd:sed
cmd:awk
"
SOURCE_DIR="opus-1.1"
BUILD()
{
@@ -41,8 +40,15 @@ BUILD()
INSTALL()
{
make install
# remove libtool library file
rm $libDir/libopus.la
prepareInstalledDevelLibs libopus
packageEntries devel $developDir
fixPkgconfig
packageEntries devel $developDir \
$dataDir
}
@@ -50,9 +56,9 @@ INSTALL()
PROVIDES_devel="
libopus${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5
opus${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopus$secondaryArchSuffix = 0.5.0 compat >= 0
"
REQUIRES_devel="
libopus$secondaryArchSuffix == $portVersion base
opus$secondaryArchSuffix == $portVersion base
"