diff --git a/package_OPK b/package similarity index 100% rename from package_OPK rename to package diff --git a/package_IPK b/package_IPK deleted file mode 100755 index 7e637ab..0000000 --- a/package_IPK +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -mkdir -p ipkg/home/retrofw/emus/sms_sdl -mkdir -p ipkg/home/retrofw/apps/gmenu2x/sections/emulators -cp ./sms_sdl ipkg/home/retrofw/emus/sms_sdl/sms_sdl -cp ./sms_sdl.png ipkg/home/retrofw/emus/sms_sdl/sms_sdl.png - -cd ipkg - -# https://unix.stackexchange.com/questions/219268/how-to-add-new-lines-when-using-echo -print() - case ${IFS- } in - (\ *) printf %b\\n "$*";; - (*) IFS=\ $IFS - printf %b\\n "$*" - IFS=${IFS#?} -esac - -# Create GmenuNx entry file plus other things - -print 'Package: sms_sdl -Version: 20190315 -Description: SMS/GG emulator -Section: emus -Priority: optional -Maintainer: gameblabla -Architecture: mipsel -Homepage: https://github.com/gameblabla/sms_sdl -Depends: -Source: https://github.com/gameblabla/sms_sdl' > control - -print '2.0' > debian-binary - -print 'title=SMS Plus GX -description=Master System/GG Emulator -exec=/home/retrofw/emus/sms_sdl/sms_sdl -clock=600 -selectordir=/home/retrofw/roms -selectorfilter=.sms,.bin,.gg,.zip,.rom,.sg,.col,.ggsms' > home/retrofw/apps/gmenu2x/sections/emulators/sms_sdl - -tar -czvf control.tar.gz control --owner=0 --group=0 -tar -czvf data.tar.gz home --owner=0 --group=0 -ar rv ../sms_sdl.ipk control.tar.gz data.tar.gz debian-binary - -cd .. -rm -r ipkg