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="95c344a02c47c9753c50a5386fdfb8313f9e4e95949a5c523a452f0bcb01bbe8" 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" #PATCHES="libaacs-$portVersion.patchset" PROVIDES=" libaacs$secondaryArchSuffix = $portVersion compat >= 0 cmd:aacs_info${secondaryArchSuffix} lib:libaacs$secondaryArchSuffix = 0.5.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.5.1 compat >= 0 " REQUIRES_devel=" libaacs$secondaryArchSuffix == $portVersion base "