Ignore:
Timestamp:
Oct 13, 2008, 1:42:46 AM (12 years ago)
Author:
Sam Hocevar
Message:

Import GTK# 2.12 for Windows. We can now build a Win32 The Pimp package
on Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/build-win32

    r2937 r2940  
    88
    99# Clean up our working directory
     10PROJECT="ThePimp"
    1011SRCDIR="`pwd`"
    11 DIRNAME="libpipi-win32-`sed -ne 's/^AC_INIT(.*, \(.*\)).*/\1/p' configure.ac`"
     12DIRNAME="${PROJECT}-win32-`sed -ne 's/^AC_INIT(.*, \(.*\)).*/\1/p' configure.ac`"
    1213INSTALLDIR="`pwd`/${DIRNAME}"
    1314BUILDDIR="${INSTALLDIR}/build"
     
    2526# Install into our private directory
    2627make install DESTDIR="${INSTALLDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/
     28# Create a launcher
     29echo 'int main(int argc, char *argv[], char *envp[]) { argv[0] = ".\\bin\\ThePimp.exe"; execve(argv[0], argv, envp); return 0; }' > run.c
     30i586-mingw32msvc-gcc run.c -mwindows -o "${INSTALLDIR}/ThePimp.exe"
     31i586-mingw32msvc-strip "${INSTALLDIR}/ThePimp.exe"
     32# Clean up
    2733cd "${SRCDIR}"
    2834rm -Rf "${BUILDDIR}"
    2935
    30 i586-mingw32msvc-strip "${INSTALLDIR}/bin/"*.exe || true
    31 i586-mingw32msvc-strip "${INSTALLDIR}/lib/"*.dll || true
     36#i586-mingw32msvc-strip "${INSTALLDIR}/bin/"*.exe || true
     37#i586-mingw32msvc-strip "${INSTALLDIR}/lib/"*.dll || true
    3238
    3339# Install gtk-sharp
Note: See TracChangeset for help on using the changeset viewer.