PKG_NAME="gambatte" PKG_VERSION="cd1e180b1edf6e6853cf4d501adac0538076de34" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/libretro/gambatte-libretro" PKG_URL="${PKG_SITE}.git" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="libretro implementation of libgambatte, an open-source Game Boy Color emulator written for fun and made available in the hope that it will be useful." PKG_TOOLCHAIN="make" PKG_MAKE_OPTS_TARGET="-f Makefile.libretro" makeinstall_target() { mkdir -p ${INSTALL}/usr/lib/libretro cp -v gambatte_libretro.so ${INSTALL}/usr/lib/libretro/ }