source: Main/trunk/ps3.sh@ 194

Last change on this file since 194 was 193, checked in by Nishi, on Sep 29, 2024 at 2:55:18 PM

wip but should work

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 936 bytes
Line 
1#!/bin/sh
2# $Id: ps3.sh 193 2024-09-29 05:55:18Z nishi $
3export PSPDEV=/usr/local/pspdev
4export PATH=$PATH:/usr/local/pspdev/bin
5cat config.h.tmpl | sed -E 's/#undef (NO_SSL)/#define \1/g' > config.h
6rm -rf TEWI_00-0
7make PLATFORM=ps3 DESTDIR=TEWI_00-0/ install || exit 1
8mkdir -p TEWI_00-0/USRDIR
9mv TEWI_00-0/dev_hdd0/game/TEWI_00-0/USRDIR/* TEWI_00-0/USRDIR/
10rm -rf TEWI_00-0/USRDIR/lib TEWI_00-0/USRDIR/bin
11rm -rf TEWI_00-0/dev_hdd0
12make_self_npdrm Server/tewi_strip.elf TEWI_00-0/USRDIR/EBOOT.BIN UP0001-TEWI_00-0000000000000000
13sfo.py --title "Tewi HTTPd" --appid "TEWI" -f /usr/local/ps3dev/bin/sfo.xml TEWI_00-0/PARAM.SFO
14cp Binary/ps3.png TEWI_00-0/ICON0.PNG
15echo "Tewi HTTPd $(make get-version) for PS3" > TEWI_00-0/README
16echo "========================" >> TEWI_00-0/README
17echo "To install, just copy this \`TEWI_00-0' folder into your /game of PS3 HDD0." >> TEWI_00-0/README
18cat TEWI_00-0/README
19rm -f tewidist.zip
20zip -rv tewidist.zip TEWI_00-0
21rm -rf TEWI_00-0
Note: See TracBrowser for help on using the repository browser.