distribution/packages/multimedia/libaacs/package.mk

29 lines
1.1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libaacs"
PKG_VERSION="0.11.1"
PKG_SHA256="a88aa0ebe4c98a77f7aeffd92ab3ef64ac548c6b822e8248a8b926725bea0a39"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org/developers/libaacs.html"
PKG_URL="https://download.videolan.org/pub/videolan/libaacs/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain libgcrypt"
PKG_LONGDESC="Open implementation of the AACS (Advanced Access Content System) specification."
2022-02-05 14:23:32 +00:00
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
--disable-extra-warnings \
--disable-optimizations \
--with-libgcrypt-prefix=${SYSROOT_PREFIX}/usr \
--with-libgpg-error-prefix=${SYSROOT_PREFIX}/usr \
2022-02-05 14:23:32 +00:00
--with-gnu-ld"
post_configure_target() {
libtool_remove_rpath libtool
}
2022-02-05 14:23:32 +00:00
post_makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/aacs
cp -P ../KEYDB.cfg ${INSTALL}/usr/config/aacs
2022-02-05 14:23:32 +00:00
}