mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* 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.
83 lines
1.9 KiB
Plaintext
83 lines
1.9 KiB
Plaintext
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
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
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
|
|
"
|