2022-02-27 02:40:30 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="modules"
|
2022-03-01 22:06:41 +00:00
|
|
|
PKG_VERSION="$(date +%Y%m%d)"
|
2022-02-27 02:40:30 +00:00
|
|
|
PKG_ARCH="any"
|
2022-03-01 22:06:41 +00:00
|
|
|
PKG_LICENSE="custom"
|
2022-02-27 02:40:30 +00:00
|
|
|
PKG_SITE=""
|
|
|
|
PKG_URL=""
|
2022-04-10 21:22:14 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain rclone portmaster thememaster"
|
2022-02-27 02:40:30 +00:00
|
|
|
PKG_SHORTDESC="OS Modules Package"
|
|
|
|
PKG_LONGDESC="OS Modules Package"
|
|
|
|
PKG_IS_ADDON="no"
|
|
|
|
PKG_AUTORECONF="no"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
2022-03-03 11:54:53 +00:00
|
|
|
make_target() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2022-02-27 02:40:30 +00:00
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/config/modules
|
|
|
|
cp -rf ${PKG_DIR}/sources/* ${INSTALL}/usr/config/modules
|
2022-03-19 17:25:22 +00:00
|
|
|
chmod 0755 ${INSTALL}/usr/config/modules/*
|
2022-12-04 20:46:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2022-09-14 21:35:38 +00:00
|
|
|
case ${ARCH} in
|
|
|
|
x86_64)
|
2022-12-16 23:48:54 +00:00
|
|
|
rm -f ${INSTALL}/usr/config/modules/*32bit*
|
|
|
|
rm -f ${INSTALL}/usr/config/modules/*Master*
|
2022-12-04 20:46:38 +00:00
|
|
|
;;
|
|
|
|
*)
|
2022-12-16 23:48:54 +00:00
|
|
|
rm -f ${INSTALL}/usr/config/modules/Install*
|
2022-09-14 21:35:38 +00:00
|
|
|
;;
|
|
|
|
esac
|
2022-02-27 02:40:30 +00:00
|
|
|
}
|
|
|
|
|