mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
75 lines
1.7 KiB
Bash
75 lines
1.7 KiB
Bash
SUMMARY="Open implementation of AACS"
|
|
DESCRIPTION="libaacs is an open implementation of the Advanced Access Content \
|
|
System (AACS) specification."
|
|
HOMEPAGE="https://www.videolan.org/developers/libaacs.html"
|
|
SOURCE_URI="https://download.videolan.org/pub/videolan/libaacs/$portVersion/libaacs-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="47e0bdc9c9f0f6146ed7b4cc78ed1527a04a537012cf540cf5211e06a248bace"
|
|
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"
|
|
REVISION="1"
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libaacs$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:aacs_info${secondaryArchSuffix}
|
|
lib:libaacs$secondaryArchSuffix = 0.6.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
PROVIDES_devel="
|
|
libaacs${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libaacs$secondaryArchSuffix = 0.6.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libaacs$secondaryArchSuffix == $portVersion base
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf
|
|
cmd:aclocal
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
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
|
|
|
|
rm $libDir/libaacs.la
|
|
|
|
prepareInstalledDevelLibs libaacs
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|