distribution/packages/misc/modules/package.mk
fewtarius bbb2975eed
* Move JELOS installation to tools menu, flashed images boot directly into JELOS now.
* Fix bug causing terminal output to appear on the console on x86_64 builds.
* Silence missing sudo warnings by aliasing it to nothing.
2022-12-04 15:46:38 -05:00

38 lines
820 B
Makefile

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
PKG_NAME="modules"
PKG_VERSION="$(date +%Y%m%d)"
PKG_ARCH="any"
PKG_LICENSE="custom"
PKG_SITE=""
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain rclone portmaster thememaster"
PKG_SHORTDESC="OS Modules Package"
PKG_LONGDESC="OS Modules Package"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_TOOLCHAIN="manual"
make_target() {
:
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/modules
cp -rf ${PKG_DIR}/sources/* ${INSTALL}/usr/config/modules
chmod 0755 ${INSTALL}/usr/config/modules/*
}
post_makeinstall_target() {
case ${ARCH} in
x86_64)
rm -f "${INSTALL}/usr/config/modules/*32bit*"
rm -f "${INSTALL}/usr/config/modules/*Master*"
;;
*)
rm -f "${INSTALL}/usr/config/modules/Install*"
;;
esac
}