libamcodec: make source arch-specific, not project-specific

This commit is contained in:
kszaq 2016-06-08 05:43:44 +02:00
parent d11c464649
commit 8c8fc13aec

View File

@ -21,12 +21,12 @@ PKG_REV="1"
PKG_ARCH="arm aarch64" PKG_ARCH="arm aarch64"
PKG_LICENSE="other" PKG_LICENSE="other"
PKG_SITE="http://openlinux.amlogic.com" PKG_SITE="http://openlinux.amlogic.com"
case $PROJECT in case $TARGET_ARCH in
WeTek_Core|WeTek_Play) arm)
PKG_VERSION="45a1086" PKG_VERSION="45a1086"
PKG_URL="https://github.com/codesnake/libamcodec/archive/$PKG_VERSION.tar.gz" PKG_URL="https://github.com/codesnake/libamcodec/archive/$PKG_VERSION.tar.gz"
;; ;;
Odroid_C2) aarch64)
PKG_VERSION="210755d" PKG_VERSION="210755d"
PKG_URL="http://amlinux.ru/source/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_URL="http://amlinux.ru/source/$PKG_NAME-$PKG_VERSION.tar.gz"
;; ;;