wok-4.x rev 10712
mingw32-*: move to undigest (huge work to make them work and ok with MAINTAINER)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 28 18:08:08 2011 +0200 (2011-05-28) |
parents | 6b80aa0a1e20 |
children | 5d755b4f872b |
files | mingw32-ada/receipt mingw32-binutils/receipt mingw32-g++/receipt mingw32-gcc-c/receipt mingw32-gcc/receipt mingw32-runtime-headers/receipt mingw32-runtime/receipt mingw32-toolchain/receipt mingw32-toolchain/stuff/mingw32.conf mingw32-w32api-headers/receipt mingw32-w32api/receipt |
line diff
1.1 --- a/mingw32-ada/receipt Sat May 28 16:07:34 2011 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,19 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="mingw32-ada" 1.7 -SOURCE="gcc-ada" 1.8 -VERSION="3.4.5-20060117-2" 1.9 -CATEGORY="development" 1.10 -SHORT_DESC="MinGW32 ada sources (empty package)." 1.11 -MAINTAINER="gokhlayeh@mailoo.org" 1.12 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 1.13 -WEB_SITE="http://www.mingw.org/" 1.14 -MINGW32_URL="$SF_MIRROR/mingw" 1.15 -WGET_URL="$MINGW32_URL/$TARBALL" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr 1.21 -} 1.22 -
2.1 --- a/mingw32-binutils/receipt Sat May 28 16:07:34 2011 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,49 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="mingw32-binutils" 2.7 -SOURCE="binutils" 2.8 -VERSION="2.19.1" 2.9 -CATEGORY="development" 2.10 -SHORT_DESC="MinGW32 binutils." 2.11 -MAINTAINER="rcx@zoominternet.net" 2.12 -DEPENDS="glibc-base zlib" 2.13 -BUILD_DEPENDS="slitaz-toolchain bison flex" 2.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 2.15 -WEB_SITE="http://www.mingw.org/" 2.16 -WGET_URL="$SF_MIRROR/mingw/$TARBALL" 2.17 - 2.18 -# Configuration only needs included if we're in the build/wok environment 2.19 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 2.20 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 2.21 -fi 2.22 - 2.23 -# Rules to configure and make the package. 2.24 -compile_rules() 2.25 -{ 2.26 - cd $src 2.27 - ./configure \ 2.28 - --prefix=/usr \ 2.29 - --infodir=/usr/share/info \ 2.30 - --mandir=/usr/share/man \ 2.31 - --with-sysroot=$MINGW32_ROOT \ 2.32 - --disable-shared \ 2.33 - --disable-debug \ 2.34 - --target=$MINGW32_TARGET \ 2.35 - $CONFIGURE_ARGS && 2.36 - make CFLAGS="-O2 -fno-exceptions" LDFLAGS="-s" && 2.37 - make DESTDIR=$PWD/_pkg install 2.38 -} 2.39 - 2.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.41 -genpkg_rules() 2.42 -{ 2.43 - mkdir -p $fs/usr/lib $fs$MINGW32_ROOT 2.44 - cp -a $_pkg/usr/bin $fs/usr 2.45 - cp -a $_pkg$MINGW32_ROOT/* $fs$MINGW32_ROOT 2.46 - # do not need to copy lib/libiberty.a 2.47 - 2.48 - strip -s $fs$MINGW32_ROOT/bin/* 2.49 - 2.50 - #Create a symlink for --with-sysroot 2.51 - ln -s . $fs$MINGW32_ROOT/usr 2.52 -}
3.1 --- a/mingw32-g++/receipt Sat May 28 16:07:34 2011 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,19 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="mingw32-g++" 3.7 -SOURCE="gcc-g++" 3.8 -VERSION="3.4.5-20060117-2" 3.9 -CATEGORY="development" 3.10 -SHORT_DESC="MinGW32 c++ sources (empty package)." 3.11 -MAINTAINER="gokhlayeh@mailoo.org" 3.12 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 3.13 -WEB_SITE="http://www.mingw.org/" 3.14 -MINGW32_URL="$SF_MIRROR/mingw" 3.15 -WGET_URL="$MINGW32_URL/$TARBALL" 3.16 - 3.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 -genpkg_rules() 3.19 -{ 3.20 - mkdir -p $fs/usr 3.21 -} 3.22 -
4.1 --- a/mingw32-gcc-c/receipt Sat May 28 16:07:34 2011 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,74 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="mingw32-gcc-c" 4.7 -SOURCE="gcc-core" 4.8 -VERSION="3.4.5-20060117-2" 4.9 -CATEGORY="development" 4.10 -SHORT_DESC="MinGW32 gcc, for the C language only." 4.11 -MAINTAINER="rcx@zoominternet.net" 4.12 -DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers mingw32-runtime-headers" 4.13 -BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils mingw32-runtime-headers mingw32-w32api-headers" 4.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 4.15 -WEB_SITE="http://www.mingw.org/" 4.16 -MINGW32_URL="$SF_MIRROR/mingw" 4.17 -WGET_URL="$MINGW32_URL/$TARBALL" 4.18 -MINGW32_ID="i586-pc-mingw32" 4.19 - 4.20 -# Configuration only needs included if we're in the build/wok environment 4.21 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 4.22 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 4.23 -fi 4.24 - 4.25 -# Rules to configure and make the package. 4.26 -compile_rules() 4.27 -{ 4.28 - if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 4.29 - echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 4.30 - return 1 4.31 - fi 4.32 - 4.33 - rm -f -r $src/binutils 4.34 - mkdir -p $SOURCE-$VERSION-build 4.35 - cd $SOURCE-$VERSION-build 4.36 - $src/configure \ 4.37 - --prefix=/usr \ 4.38 - --libexecdir=/usr/lib \ 4.39 - --infodir=/usr/share/info \ 4.40 - --mandir=/usr/share/man \ 4.41 - --with-sysroot=$MINGW32_ROOT \ 4.42 - --disable-shared \ 4.43 - --disable-debug \ 4.44 - --target=$MINGW32_TARGET \ 4.45 - --enable-languages=c \ 4.46 - --enable-threads=win32 \ 4.47 - --disable-win32-registry \ 4.48 - --enable-sjlj-exceptions \ 4.49 - $CONFIGURE_ARGS && 4.50 - make CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS="-s" && 4.51 - make DESTDIR=$src/_pkg install 4.52 -} 4.53 - 4.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.55 -genpkg_rules() 4.56 -{ 4.57 - mkdir -p $fs/usr 4.58 - cp -a $_pkg/usr/bin $fs/usr 4.59 - # do not need to copy lib/libiberty.a 4.60 - mkdir -p $fs/usr/lib 4.61 - cp -a $_pkg/usr/lib/gcc $fs/usr/lib 4.62 -} 4.63 - 4.64 -# Rules to setup after installation 4.65 -post_install() 4.66 -{ 4.67 - # Archives get stripped during packaging; need to run ranlib 4.68 - local root 4.69 - root=$1 4.70 - find $root/usr/lib/gcc/$MINGW32_ID/ -name *.a -exec $MINGW32_ID-ranlib {} \; 4.71 -} 4.72 - 4.73 -# Rules to clean the package 4.74 -clean_wok() 4.75 -{ 4.76 - rm -r $SOURCE-$VERSION-build 4.77 -}
5.1 --- a/mingw32-gcc/receipt Sat May 28 16:07:34 2011 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,95 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="mingw32-gcc" 5.7 -SOURCE="gcc-core" 5.8 -VERSION="3.4.5-20060117-2" 5.9 -CATEGORY="development" 5.10 -SHORT_DESC="MinGW32 gcc, for C, C++, and Ada." 5.11 -MAINTAINER="rcx@zoominternet.net" 5.12 -DEPENDS="glibc-base mingw32-binutils mingw32-w32api-headers \ 5.13 -mingw32-runtime-headers mingw32-w32api mingw32-runtime" 5.14 -BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils \ 5.15 -mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c \ 5.16 -mingw32-w32api mingw32-runtime mingw32-g++ mingw32-ada" 5.17 -PROVIDE="mingw32-gcc-c" 5.18 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 5.19 -WEB_SITE="http://www.mingw.org/" 5.20 -MINGW32_URL="$SF_MIRROR/mingw" 5.21 -WGET_URL="$MINGW32_URL/$TARBALL" 5.22 -MINGW32_ID="i586-pc-mingw32" 5.23 - 5.24 -# Configuration only needs included if we're in the build/wok environment 5.25 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 5.26 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 5.27 -fi 5.28 - 5.29 -# Rules to configure and make the package. 5.30 -compile_rules() 5.31 -{ 5.32 - if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 5.33 - echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 5.34 - return 1 5.35 - fi 5.36 - 5.37 - report open-bloc 5.38 - 5.39 - for s in mingw32-g++ mingw32-ada; do 5.40 - tazwok get-src $s --target=$PACKAGE-$VERSION && continue 5.41 - report close-bloc 5.42 - return 1 5.43 - done 5.44 - 5.45 - report step "Running compilation" 5.46 - 5.47 - rm -f -r $src/binutils 5.48 - mkdir -p $SOURCE-$VERSION-build 5.49 - cd $SOURCE-$VERSION-build 5.50 - { 5.51 - $src/configure \ 5.52 - --prefix=/usr \ 5.53 - --libexecdir=/usr/lib \ 5.54 - --infodir=/usr/share/info \ 5.55 - --mandir=/usr/share/man \ 5.56 - --with-sysroot=$MINGW32_ROOT \ 5.57 - --disable-shared \ 5.58 - --disable-debug \ 5.59 - --target=$MINGW32_TARGET \ 5.60 - --enable-languages=c,c++,ada \ 5.61 - --enable-threads=win32 \ 5.62 - --disable-win32-registry \ 5.63 - --enable-sjlj-exceptions \ 5.64 - $CONFIGURE_ARGS && 5.65 - make -j 4 CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS="-s" && 5.66 - make DESTDIR=$src/_pkg install && 5.67 - report close-bloc 5.68 - } || { report close-bloc; return 1; } 5.69 -} 5.70 - 5.71 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.72 -genpkg_rules() 5.73 -{ 5.74 - mkdir -p $fs/usr/lib $fs$MINGW32_ROOT 5.75 - cp -a $_pkg$MINGW32_ROOT/* $fs$MINGW32_ROOT 5.76 - rm $fs$MINGW32_ROOT/lib/*.la 5.77 - cp -a $_pkg/usr/bin $fs/usr 5.78 - cp -a $_pkg/usr/include $fs/usr 5.79 - # do not need to copy lib/libiberty.a 5.80 - mkdir -p $fs/usr/lib 5.81 - cp -a $_pkg/usr/lib/gcc $fs/usr/lib 5.82 -} 5.83 - 5.84 -# Rules to setup after installation 5.85 -post_install() 5.86 -{ 5.87 - # Archives get stripped during packaging; need to run ranlib 5.88 - local root 5.89 - root=$1 5.90 - find $root/usr/lib/gcc/$MINGW32_ID/ -name *.a -exec $MINGW32_ID-ranlib {} \; 5.91 - find $root/usr/$MINGW32_ID/lib/ -name *.a -exec $MINGW32_ID-ranlib {} \; 5.92 -} 5.93 - 5.94 -# Rules to clean the package 5.95 -clean_wok() 5.96 -{ 5.97 - rm -rf $SOURCE-$VERSION-build 5.98 -}
6.1 --- a/mingw32-runtime-headers/receipt Sat May 28 16:07:34 2011 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,35 +0,0 @@ 6.4 -# SliTaz package receipt. 6.5 - 6.6 -PACKAGE="mingw32-runtime-headers" 6.7 -SOURCE="mingwrt" 6.8 -VERSION="3.15.2-mingw32" 6.9 -CATEGORY="development" 6.10 -SHORT_DESC="MinGW32 runtime headers." 6.11 -MAINTAINER="rcx@zoominternet.net" 6.12 -DEPENDS="" 6.13 -BUILD_DEPENDS="" 6.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 6.15 -WEB_SITE="http://www.mingw.org/" 6.16 -WGET_URL="$SF_MIRROR/mingw/$TARBALL" 6.17 - 6.18 -# Configuration only needs included if we're in the build/wok environment 6.19 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 6.20 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 6.21 -fi 6.22 - 6.23 -# Rules to configure and make the package. 6.24 -compile_rules() 6.25 -{ 6.26 - cd $src 6.27 - 6.28 - mkdir -p _pkg$MINGW32_ROOT 6.29 - cp -a include _pkg$MINGW32_ROOT 6.30 - cp -a profile/*.h _pkg$MINGW32_ROOT/include 6.31 -} 6.32 - 6.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.34 -genpkg_rules() 6.35 -{ 6.36 - mkdir -p $fs 6.37 - cp -a $_pkg/* $fs 6.38 -}
7.1 --- a/mingw32-runtime/receipt Sat May 28 16:07:34 2011 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,63 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="mingw32-runtime" 7.7 -SOURCE="mingwrt" 7.8 -VERSION="3.15.2-mingw32" 7.9 -CATEGORY="development" 7.10 -SHORT_DESC="MinGW32 runtime." 7.11 -MAINTAINER="rcx@zoominternet.net" 7.12 -DEPENDS="mingw32-w32api" 7.13 -BUILD_DEPENDS="slitaz-toolchain mingw32-binutils mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c mingw32-w32api" 7.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 7.15 -WEB_SITE="http://www.mingw.org/" 7.16 -WGET_URL="$SF_MIRROR/mingw/$TARBALL" 7.17 -MINGW32_ID="i586-pc-mingw32" 7.18 - 7.19 -# Configuration only needs included if we're in the build/wok environment 7.20 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 7.21 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 7.22 -fi 7.23 - 7.24 -# Rules to configure and make the package. 7.25 -compile_rules() 7.26 -{ 7.27 - if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 7.28 - echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 7.29 - return 1 7.30 - fi 7.31 - 7.32 - rm -f -r $src/binutils 7.33 - mkdir -p $SOURCE-$VERSION-build 7.34 - cd $SOURCE-$VERSION-build 7.35 - 7.36 - # NOTE: DESTDIR not handled correctly; have to fudge --prefix 7.37 - $src/configure \ 7.38 - --prefix=$src/_pkg/usr \ 7.39 - --host=$MINGW32_TARGET \ 7.40 - --build=$BUILD_HOST && 7.41 - make CFLAGS="-O2 -mms-bitfields -march=${TARGET_CPU-i386} -I$MINGW32_ROOT/include" LDFLAGS="-s" && 7.42 - make DESTDIR=$src/_pkg install 7.43 -} 7.44 - 7.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.46 -genpkg_rules() 7.47 -{ 7.48 - mkdir -p $fs$MINGW32_ROOT 7.49 - cp -a $_pkg/usr/bin $fs$MINGW32_ROOT 7.50 - cp -a $_pkg/usr/lib $fs$MINGW32_ROOT 7.51 -} 7.52 - 7.53 -# Rules to setup after installation 7.54 -post_install() 7.55 -{ 7.56 - # Archives get stripped during packaging; need to run ranlib 7.57 - local root 7.58 - root=$1 7.59 - find $root/usr/$MINGW32_ID/lib/ -name *.a -exec $MINGW32_ID-ranlib {} \; 7.60 -} 7.61 - 7.62 -# Rules to clean the package 7.63 -clean_wok() 7.64 -{ 7.65 - rm -r $SOURCE-$VERSION-build 7.66 -}
8.1 --- a/mingw32-toolchain/receipt Sat May 28 16:07:34 2011 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,15 +0,0 @@ 8.4 -# SliTaz package receipt. 8.5 - 8.6 -PACKAGE="mingw32-toolchain" 8.7 -VERSION="1.0" 8.8 -CATEGORY="meta" 8.9 -SHORT_DESC="MinGW32 toolchain meta package for devel." 8.10 -MAINTAINER="rcx@zoominternet.net" 8.11 -DEPENDS="mingw32-gcc" 8.12 -WEB_SITE="http://www.slitaz.org/" 8.13 - 8.14 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.15 -genpkg_rules() 8.16 -{ 8.17 - mkdir -p $fs/var 8.18 -}
9.1 --- a/mingw32-toolchain/stuff/mingw32.conf Sat May 28 16:07:34 2011 +0200 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,6 +0,0 @@ 9.4 - 9.5 -MINGW32_TARGET="i586-pc-mingw32" 9.6 -MINGW32_ROOT="/usr/$MINGW32_TARGET" 9.7 - 9.8 -# Need exception for FSH incompleteness 9.9 -FSH="$FSH $MINGW32_ROOT"
10.1 --- a/mingw32-w32api-headers/receipt Sat May 28 16:07:34 2011 +0200 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,34 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="mingw32-w32api-headers" 10.7 -SOURCE="w32api" 10.8 -VERSION="3.13-mingw32" 10.9 -CATEGORY="development" 10.10 -SHORT_DESC="MinGW32 w32api headers." 10.11 -MAINTAINER="rcx@zoominternet.net" 10.12 -DEPENDS="" 10.13 -BUILD_DEPENDS="" 10.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 10.15 -WEB_SITE="http://www.mingw.org/" 10.16 -WGET_URL="$SF_MIRROR/mingw/$TARBALL" 10.17 - 10.18 -# Configuration only needs included if we're in the build/wok environment 10.19 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 10.20 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 10.21 -fi 10.22 - 10.23 -# Rules to configure and make the package. 10.24 -compile_rules() 10.25 -{ 10.26 - cd $src 10.27 - 10.28 - mkdir -p _pkg$MINGW32_ROOT 10.29 - cp -a include _pkg$MINGW32_ROOT 10.30 -} 10.31 - 10.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.33 -genpkg_rules() 10.34 -{ 10.35 - mkdir -p $fs 10.36 - cp -a $_pkg/* $fs 10.37 -}
11.1 --- a/mingw32-w32api/receipt Sat May 28 16:07:34 2011 +0200 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,62 +0,0 @@ 11.4 -# SliTaz package receipt. 11.5 - 11.6 -PACKAGE="mingw32-w32api" 11.7 -SOURCE="w32api" 11.8 -VERSION="3.13-mingw32" 11.9 -CATEGORY="development" 11.10 -SHORT_DESC="MinGW32 w32api." 11.11 -MAINTAINER="rcx@zoominternet.net" 11.12 -DEPENDS="" 11.13 -BUILD_DEPENDS="slitaz-toolchain mingw32-binutils mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c" 11.14 -TARBALL="$SOURCE-$VERSION-src.tar.gz" 11.15 -WEB_SITE="http://www.mingw.org/" 11.16 -WGET_URL="$SF_MIRROR/mingw/$TARBALL" 11.17 -MINGW32_ID="i586-pc-mingw32" 11.18 - 11.19 -# Configuration only needs included if we're in the build/wok environment 11.20 -if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then 11.21 - . $WOK/mingw32-toolchain/stuff/mingw32.conf 11.22 -fi 11.23 - 11.24 -# Rules to configure and make the package. 11.25 -compile_rules() 11.26 -{ 11.27 - if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 11.28 - echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 11.29 - return 1 11.30 - fi 11.31 - 11.32 - rm -f -r $src/binutils 11.33 - mkdir -p $SOURCE-$VERSION-build 11.34 - cd $SOURCE-$VERSION-build 11.35 - 11.36 - # NOTE: DESTDIR not handled correctly; have to fudge --prefix 11.37 - $src/configure \ 11.38 - --prefix=$src/_pkg/usr \ 11.39 - --host=$MINGW32_TARGET \ 11.40 - --build=$BUILD_HOST && 11.41 - make CFLAGS="-O2 -mms-bitfields -march=${TARGET_CPU-i386}" LDFLAGS="-s" && 11.42 - make DESTDIR=$src/_pkg install 11.43 -} 11.44 - 11.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.46 -genpkg_rules() 11.47 -{ 11.48 - mkdir -p $fs$MINGW32_ROOT 11.49 - cp -a $_pkg/usr/lib $fs$MINGW32_ROOT 11.50 -} 11.51 - 11.52 -# Rules to setup after installation 11.53 -post_install() 11.54 -{ 11.55 - # Archives get stripped during packaging; need to run ranlib 11.56 - local root 11.57 - root=$1 11.58 - find $root/usr/$MINGW32_ID/lib/ -name *.a -exec $MINGW32_ID-ranlib {} \; 11.59 -} 11.60 - 11.61 -# Rules to clean the package 11.62 -clean_wok() 11.63 -{ 11.64 - rm -r $SOURCE-$VERSION-build 11.65 -}