source: Main/trunk/psp.sh@ 366

Last change on this file since 366 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: 637 bytes
RevLine 
[184]1#!/bin/sh
2# $Id: psp.sh 193 2024-09-29 05:55:18Z nishi $
3export PSPDEV=/usr/local/pspdev
4export PATH=$PATH:/usr/local/pspdev/bin
[187]5cat config.h.tmpl | sed -E 's/#undef (NO_SSL)/#define \1/g' > config.h
[184]6rm -rf httpd
[193]7make PLATFORM=psp DESTDIR=httpd/ install || exit 1
[184]8mv httpd/ms0:/PSP/GAME/httpd/* httpd/
9rm -rf httpd/lib httpd/bin
10rm -rf httpd/ms0:
11cp Server/tewi.pbp httpd/EBOOT.PBP
12echo "Tewi HTTPd $(make get-version) for PSP" > httpd/README
13echo "========================" >> httpd/README
14echo "To install, just copy this \`httpd' folder into your /PSP/GAME of the PSP memorystick." >> httpd/README
[193]15cat httpd/README
[184]16rm -f tewidist.zip
17zip -rv tewidist.zip httpd
18rm -rf httpd
Note: See TracBrowser for help on using the repository browser.