distribution/packages/tools/entware/package.mk

24 lines
686 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
PKG_NAME="entware"
PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/Entware/Entware"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_LONGDESC="entware: A software repository that offers various software programs that can be installed on your device"
PKG_TOOLCHAIN="manual"
post_install() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/sbin
cp -P ${PKG_DIR}/scripts/installentware ${INSTALL}/usr/sbin
2022-02-05 14:23:32 +00:00
# Replace Entware Arch
sed -e "s/@ENTWARE_ARCH@/$ENTWARE_ARCH/g" \
2023-02-24 13:53:43 +00:00
-i ${INSTALL}/usr/sbin/installentware
2022-02-05 14:23:32 +00:00
enable_service entware.service
}