0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 09:49:46 +00:00
GavinDarkglider 4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2023-01-21 16:11:38 +01:00

27 lines
731 B
Makefile

PKG_NAME="rewritefs"
PKG_VERSION="33fb844d8e8ff441a3fc80d2715e8c64f8563d81"
PKG_ARCH="any"
PKG_SITE="https://github.com/sloonz/rewritefs"
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse pcre"
PKG_SECTION="tools"
PKG_SHORTDESC="A FUSE filesystem intended to be used like Apache mod_rewrite"
PKG_MAKE_OPTS_TARGET="PREFIX=/usr"
PKG_TOOLCHAIN="make"
pre_make_target() {
export CFLAGS="${TARGET_CFLAGS}"
export CPPFLAGS="${TARGET_CPPFLAGS}"
export LDFLAGS="${TARGET_LDFLAGS}"
export CROSS_COMPILE="${TARGET_PREFIX}"
}
makeinstall_target() {
DESTDIR=${INSTALL}/usr make install
}
post_install() {
mkdir -p ${INSTALL}/etc
cp -v ${PKG_DIR}/configs/rewritefs.conf ${INSTALL}/etc/
}