distribution/packages/multimedia/libamcodec/package.mk
2023-02-24 08:53:43 -05:00

22 lines
725 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
PKG_NAME="libamcodec"
PKG_VERSION="31cd6eceaa1402b9f4ff5cc349e53899860fe9b9"
PKG_SHA256="9052aaa00c827d3bfef7de83f55678aa1674368f06911a003b138953409f4d7c"
PKG_LICENSE="proprietary"
PKG_SITE="http://openlinux.amlogic.com"
PKG_URL="https://sources.coreelec.org/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libamplayer: Interface library for Amlogic media codecs"
PKG_TOOLCHAIN="manual"
make_target() {
cp -PR * ${SYSROOT_PREFIX}
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr
cp -PR usr/lib ${INSTALL}/usr
}