wok annotate mingw32-w32api-headers/receipt @ rev 25030
giblib: inserted configure parameters
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:23:32 2022 +0100 (2022-05-20) |
parents | bb009a6ef036 |
children | d3556b8f5c3d |
rev | line source |
---|---|
pascal@12905 | 1 # SliTaz package receipt. |
pascal@12905 | 2 |
pascal@12905 | 3 PACKAGE="mingw32-w32api-headers" |
pascal@12905 | 4 SOURCE="w32api" |
pascal@12905 | 5 VERSION="3.13-mingw32" |
pascal@12905 | 6 CATEGORY="development" |
pascal@12905 | 7 SHORT_DESC="MinGW32 w32api 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/w32api/ 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|.*/w32api-||;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@12905 | 37 } |
pascal@12905 | 38 |
pascal@12905 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12905 | 40 genpkg_rules() |
pascal@12905 | 41 { |
pascal@12905 | 42 mkdir -p $fs |
pascal@15583 | 43 cp -a $install/* $fs |
pascal@12905 | 44 } |