source: Main/trunk/ps3.sh@ 196

Last change on this file since 196 was 196, checked in by Nishi, on Sep 29, 2024 at 3:34:10 PM

revive ps3.sh

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