Changeset 543 for libcaca/trunk/build-dos
- Timestamp:
- Mar 7, 2006, 1:39:34 PM (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/build-dos
r537 r543 1 1 #! /bin/sh 2 2 3 ## Win32cross-compilation for libcaca -- Sam Hocevar <sam@zoy.org>3 ## DOS cross-compilation for libcaca -- Sam Hocevar <sam@zoy.org> 4 4 ## $Id$ 5 5 … … 8 8 9 9 # Clean up our working directory 10 DIRNAME="libcaca- win32-`sed -ne '/^VERSION/s/[^0-9]*//p' Makefile`"10 DIRNAME="libcaca-dos-`sed -ne '/^VERSION/s/[^0-9]*//p' Makefile`" 11 11 DESTDIR="`pwd`/${DIRNAME}" 12 12 rm -Rf "${DIRNAME}" … … 14 14 mkdir "${DIRNAME}" 15 15 16 # Build for win3217 ./configure --host=i 586-mingw32msvc--prefix=/ --bindir=/ --libdir=/ --disable-imlib2 --disable-doc16 # Build for DOS 17 ./configure --host=i386-pc-msdosdjgpp --prefix=/ --bindir=/ --libdir=/ --disable-imlib2 --disable-doc 18 18 make pkglibdir=/lib pkgdatadir=/data 19 19 20 20 # Install into our private directory 21 21 make install DESTDIR="${DESTDIR}" pkglibdir=/lib pkgdatadir=/ 22 i 586-mingw32msvc-strip "${DESTDIR}/"*.exe22 i386-pc-msdosdjgpp-strip "${DESTDIR}/"*.exe 23 23 rm -Rf "${DESTDIR}/man" 24 24 rm -Rf "${DESTDIR}/include"
Note: See TracChangeset
for help on using the changeset viewer.