Changeset 193 in Main for trunk/ps3.sh


Ignore:
Timestamp:
Sep 29, 2024, 2:55:18 PM (7 weeks ago)
Author:
Nishi
Message:

wip but should work

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ps3.sh

    r192 r193  
    44export PATH=$PATH:/usr/local/pspdev/bin
    55cat config.h.tmpl | sed -E 's/#undef (NO_SSL)/#define \1/g' > config.h
    6 rm -rf httpd
    7 make PLATFORM=psp DESTDIR=httpd/ install
    8 mv httpd/ms0:/PSP/GAME/httpd/* httpd/
    9 rm -rf httpd/lib httpd/bin
    10 rm -rf httpd/ms0:
    11 cp Server/tewi.pbp httpd/EBOOT.PBP
    12 echo "Tewi HTTPd $(make get-version) for PSP" > httpd/README
    13 echo "========================" >> httpd/README
    14 echo "To install, just copy this \`httpd' folder into your /PSP/GAME of the PSP memorystick." >> httpd/README
    15 cat httpd/readme
     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
    1619rm -f tewidist.zip
    17 zip -rv tewidist.zip httpd
    18 rm -rf httpd
     20zip -rv tewidist.zip TEWI_00-0
     21rm -rf TEWI_00-0
Note: See TracChangeset for help on using the changeset viewer.