wok-6.x annotate mingw32-runtime-headers/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (15 months ago) |
parents | bb009a6ef036 |
children |
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@24402 | 22 # What is the latest version available today? |
pascal@24402 | 23 current_version() |
pascal@24402 | 24 { |
pascal@24402 | 25 wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \ |
pascal@24402 | 26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 27 sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q' |
pascal@24402 | 28 } |
pascal@24402 | 29 |
pascal@12905 | 30 # Rules to configure and make the package. |
pascal@12905 | 31 compile_rules() |
pascal@12905 | 32 { |
pascal@12905 | 33 cd $src |
pascal@12905 | 34 |
pascal@15583 | 35 mkdir -p $DESTDIR$MINGW32_ROOT |
pascal@15583 | 36 cp -a include $DESTDIR$MINGW32_ROOT |
pascal@15583 | 37 cp -a profile/*.h $DESTDIR$MINGW32_ROOT/include |
pascal@12905 | 38 } |
pascal@12905 | 39 |
pascal@12905 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12905 | 41 genpkg_rules() |
pascal@12905 | 42 { |
pascal@12905 | 43 mkdir -p $fs |
pascal@15583 | 44 cp -a $install/* $fs |
pascal@12905 | 45 } |