wok-6.x annotate mingw32-runtime-headers/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
parents | |
children | bb009a6ef036 |
rev | line source |
---|---|
pascal@12905 | 1 # SliTaz package receipt. |
pascal@12905 | 2 |
pascal@12905 | 3 PACKAGE="mingw32-runtime-headers" |
pascal@12905 | 4 SOURCE="mingwrt" |
pascal@12905 | 5 VERSION="3.15.2-mingw32" |
pascal@12905 | 6 CATEGORY="development" |
pascal@12905 | 7 SHORT_DESC="MinGW32 runtime headers." |
pascal@12905 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@12905 | 9 DEPENDS="" |
pascal@12905 | 10 BUILD_DEPENDS="" |
pascal@12905 | 11 TARBALL="$SOURCE-$VERSION-src.tar.gz" |
pascal@12905 | 12 WEB_SITE="http://www.mingw.org/" |
pascal@12905 | 13 WGET_URL="$SF_MIRROR/mingw/$TARBALL" |
pascal@12905 | 14 |
pascal@12905 | 15 # Configuration only needs included if we're in the build/wok environment |
pascal@12905 | 16 if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then |
pascal@12905 | 17 . $WOK/mingw32-toolchain/stuff/mingw32.conf |
pascal@12905 | 18 fi |
pascal@12905 | 19 |
pascal@12905 | 20 # Rules to configure and make the package. |
pascal@12905 | 21 compile_rules() |
pascal@12905 | 22 { |
pascal@12905 | 23 cd $src |
pascal@12905 | 24 |
pascal@12905 | 25 mkdir -p _pkg$MINGW32_ROOT |
pascal@12905 | 26 cp -a include _pkg$MINGW32_ROOT |
pascal@12905 | 27 cp -a profile/*.h _pkg$MINGW32_ROOT/include |
pascal@12905 | 28 } |
pascal@12905 | 29 |
pascal@12905 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12905 | 31 genpkg_rules() |
pascal@12905 | 32 { |
pascal@12905 | 33 mkdir -p $fs |
pascal@12905 | 34 cp -a $_pkg/* $fs |
pascal@12905 | 35 } |