libaacs: add recipe for version 0.7.1

This commit is contained in:
Jerome Duval
2014-08-06 21:41:25 +00:00
parent 85d5e65e1d
commit 7cdba3e20a

View File

@@ -0,0 +1,82 @@
SUMMARY="Open implementation of AACS"
DESCRIPTION="
libaacs is an open implementation of the Advanced Access Content System (AACS) \
specification.
"
HOMEPAGE="http://www.videolan.org/developers/libaacs.html"
COPYRIGHT="
2009-2013 npzacs
2010 gates
2009-2010 hpi1
2009-2010 Obliter0n
2011-2013 VideoLAN
2012 Konstantin Pavlov
2013 Petri Hintukainen
"
LICENSE="GNU LGPL v2.1"
SRC_URI="http://downloads.videolan.org/pub/videolan/libaacs/$portVersion/libaacs-$portVersion.tar.bz2"
CHECKSUM_SHA256="ecc49a22ae2a645cfb5b8e732b51fe0e2684e6488a68debc5edd6e07edadb2b0"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libaacs$secondaryArchSuffix = $portVersion compat >= 0
cmd:aacs_info${secondaryArchSuffix}
lib:libaacs$secondaryArchSuffix = 0.4.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libgcrypt$secondaryArchSuffix
lib:libgpg_error$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libgcrypt$secondaryArchSuffix
devel:libgpg_error$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:aclocal
cmd:libtoolize
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:bison
cmd:flex
cmd:sed
"
BUILD()
{
autoreconf -f -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libaacs
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libaacs${secondaryArchSuffix}_devel = $portVersion compat >= 0
devel:libaacs$secondaryArchSuffix = 0.4.1 compat >= 0
"
REQUIRES_devel="
libaacs$secondaryArchSuffix == $portVersion base
"