mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 16:49:53 +00:00
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="nano"
|
|
PKG_VERSION="7.2"
|
|
PKG_SHA256="86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.nano-editor.org/"
|
|
PKG_URL="https://www.nano-editor.org/dist/v${PKG_VERSION%%.*}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain ncurses"
|
|
PKG_LONGDESC="Nano is an enhanced clone of the Pico text editor."
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
|
|
--disable-nls \
|
|
--disable-libmagic \
|
|
--disable-wrapping"
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf ${INSTALL}/usr/share/nano
|
|
|
|
mkdir -p ${INSTALL}/etc
|
|
cp -a ${PKG_DIR}/config/* ${INSTALL}/etc/
|
|
|
|
mkdir -p ${INSTALL}/usr/share/nano
|
|
|
|
PKG_FILE_LIST="css html java javascript json php python sh xml"
|
|
for PKG_FILE_TYPES in ${PKG_FILE_LIST}; do
|
|
cp -a ${PKG_BUILD}/syntax/${PKG_FILE_TYPES}.nanorc ${INSTALL}/usr/share/nano/
|
|
done
|
|
}
|