58769c80d3
* Update games to use .config/game/configs moving configurations out of the system config root. * Split modules into a separate package (packages/misc/modules). * Remove some unused packages and move a few virtual packages to packages/virtual.
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC)
|
|
|
|
PKG_NAME="freej2me"
|
|
PKG_VERSION="f9f91e57e01ccd34438a1b509397b7bc4e1dd233"
|
|
PKG_SHA256="abea8a29e2347b21e266b0cd8112c73a0426dfaaf033d78b303e74b306498c05"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_SITE="https://github.com/hex007/freej2me"
|
|
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain apache-ant:host"
|
|
PKG_PRIORITY="optional"
|
|
PKG_SECTION="libretro"
|
|
PKG_SHORTDESC="A free J2ME emulator with libretro, awt and sdl2 frontends."
|
|
PKG_LONGDESC="A free J2ME emulator with libretro, awt and sdl2 frontends."
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
pre_configure_target() {
|
|
${TOOLCHAIN}/bin/ant
|
|
}
|
|
|
|
make_target() {
|
|
make -C ${PKG_BUILD}/src/libretro
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p $INSTALL/usr/lib/libretro
|
|
cp ${PKG_BUILD}/src/libretro/freej2me_libretro.so $INSTALL/usr/lib/libretro/
|
|
|
|
mkdir -p $INSTALL/usr/config/game/freej2me
|
|
cp ${PKG_BUILD}/build/freej2me-lr.jar $INSTALL/usr/config/game/freej2me
|
|
|
|
mkdir -p $INSTALL/usr/bin
|
|
cp ${PKG_DIR}/freej2me.sh $INSTALL/usr/bin
|
|
}
|