Ignore:
Timestamp:
Mar 16, 2006, 1:46:39 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Distribute the license with Win32 packages and convert text files to CRLF format.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/build-win32

    r346 r628  
    1515
    1616# Build for win32
    17 ./configure --host=i586-mingw32msvc --prefix=/ --bindir=/ --libdir=/ --disable-imlib2 --disable-doc
    18 make pkglibdir=/lib pkgdatadir=/data
     17./configure --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc
     18make pkglibdir=/lib pkgdatadir=/data bindir=/bin
    1919
    2020# Install into our private directory
    21 make install DESTDIR="${DESTDIR}" pkglibdir=/lib pkgdatadir=/
     21make install DESTDIR="${DESTDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/
     22cp COPYING COPYING.LGPL "${DESTDIR}/share/doc/libcaca-dev/"
     23
     24mv "${DESTDIR}/bin/"* "${DESTDIR}/"
     25mv "${DESTDIR}/lib/"* "${DESTDIR}/"
    2226i586-mingw32msvc-strip "${DESTDIR}/"*.exe
     27i586-mingw32msvc-strip "${DESTDIR}/"*.dll
     28rmdir "${DESTDIR}/bin"
     29rmdir "${DESTDIR}/lib"
     30
     31mkdir "${DESTDIR}/doc"
     32for f in `ls "${DESTDIR}/share/doc/libcaca-dev/"`; do
     33   sed -e 's/$/
     34/' < "${DESTDIR}/share/doc/libcaca-dev/${f}" > "${DESTDIR}/doc/${f}.txt"
     35done
     36rm -Rf "${DESTDIR}/share"
    2337rm -Rf "${DESTDIR}/man"
    2438rm -Rf "${DESTDIR}/include"
    2539rm -f "${DESTDIR}/caca-config"
    2640rm -f "${DESTDIR}/"*.a
    27 mv "${DESTDIR}/share/doc/libcaca-dev/" "${DESTDIR}/doc"
    28 rmdir "${DESTDIR}/share/doc"
    29 rmdir "${DESTDIR}/share"
     41rm -f "${DESTDIR}/"*.la
    3042
    3143# Pack the directory
Note: See TracChangeset for help on using the changeset viewer.