wok annotate mingw32-runtime-headers/receipt @ rev 23958
Up fossil (2.12.1)
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Thu Oct 01 09:48:30 2020 +0000 (2020-10-01) |
| parents | 42924af752bc |
| children | afae00265386 |
| 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@15583 | 9 LICENSE="PublicDomain" |
| pascal@12905 | 10 TARBALL="$SOURCE-$VERSION-src.tar.gz" |
| pascal@12905 | 11 WEB_SITE="http://www.mingw.org/" |
| pascal@12905 | 12 WGET_URL="$SF_MIRROR/mingw/$TARBALL" |
| pascal@12905 | 13 |
| pascal@15583 | 14 DEPENDS="" |
| pascal@15583 | 15 BUILD_DEPENDS="" |
| pascal@15583 | 16 |
| pascal@12905 | 17 # Configuration only needs included if we're in the build/wok environment |
| pascal@12905 | 18 if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then |
| pascal@12905 | 19 . $WOK/mingw32-toolchain/stuff/mingw32.conf |
| pascal@12905 | 20 fi |
| pascal@12905 | 21 |
| pascal@12905 | 22 # Rules to configure and make the package. |
| pascal@12905 | 23 compile_rules() |
| pascal@12905 | 24 { |
| pascal@12905 | 25 cd $src |
| pascal@12905 | 26 |
| pascal@15583 | 27 mkdir -p $DESTDIR$MINGW32_ROOT |
| pascal@15583 | 28 cp -a include $DESTDIR$MINGW32_ROOT |
| pascal@15583 | 29 cp -a profile/*.h $DESTDIR$MINGW32_ROOT/include |
| pascal@12905 | 30 } |
| pascal@12905 | 31 |
| pascal@12905 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@12905 | 33 genpkg_rules() |
| pascal@12905 | 34 { |
| pascal@12905 | 35 mkdir -p $fs |
| pascal@15583 | 36 cp -a $install/* $fs |
| pascal@12905 | 37 } |