|
Revision 2664, 0.8 kB
(checked in by kris, 9 days ago)
|
|
Updated commandandconquer-GDI to use wine version automatically
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # PBI building script |
|---|
| 3 | # This will run after your port build is complete |
|---|
| 4 | # Build your PBI here, and exit 0 on success, or exit 1 on failure. |
|---|
| 5 | ############################################################################## |
|---|
| 6 | # Available Variables |
|---|
| 7 | # PBIDIR = The location of where you can populate your PBI directory |
|---|
| 8 | # MODULEDIR = The location of the module directory for this PBI |
|---|
| 9 | # PORTVER = Version number of the port we used to build |
|---|
| 10 | ############################################################################## |
|---|
| 11 | |
|---|
| 12 | # Save the right version number in the removepbi.sh script |
|---|
| 13 | sed -e "s,CHANGEME,${PORTVER},g" ${PBIDIR}/bin/gdi > /tmp/gdi |
|---|
| 14 | mv /tmp/gdi ${PBIDIR}/bin/gdi |
|---|
| 15 | chmod 755 ${PBIDIR}/bin/gdi |
|---|
| 16 | |
|---|
| 17 | # Fetch the ISO from the web for inclusion into this PBI |
|---|
| 18 | cd ${PBIDIR}/GDI/drive_c/windows/temp |
|---|
| 19 | fetch http://www.pcbsd.org/~kris/autobuildpkgs/GDI95.is |
|---|