source: Main/trunk/psp.sh@ 190

Last change on this file since 190 was 187, checked in by Nishi, on Sep 28, 2024 at 9:07:34 AM

kinda works

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 627 bytes
RevLine 
[184]1#!/bin/sh
2# $Id: psp.sh 187 2024-09-28 00:07:34Z 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
7make PLATFORM=psp DESTDIR=httpd/ install
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
15cat httpd/readme
16rm -f tewidist.zip
17zip -rv tewidist.zip httpd
18rm -rf httpd
Note: See TracBrowser for help on using the repository browser.