wok view mingw32-runtime-headers/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | bb009a6ef036 |
children | d3556b8f5c3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mingw32-runtime-headers"
4 SOURCE="mingwrt"
5 VERSION="3.15.2-mingw32"
6 CATEGORY="development"
7 SHORT_DESC="MinGW32 runtime headers."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="PublicDomain"
10 TARBALL="$SOURCE-$VERSION-src.tar.gz"
11 WEB_SITE="http://www.mingw.org/"
12 WGET_URL="$SF_MIRROR/mingw/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Configuration only needs included if we're in the build/wok environment
18 if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then
19 . $WOK/mingw32-toolchain/stuff/mingw32.conf
20 fi
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 cd $src
35 mkdir -p $DESTDIR$MINGW32_ROOT
36 cp -a include $DESTDIR$MINGW32_ROOT
37 cp -a profile/*.h $DESTDIR$MINGW32_ROOT/include
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs
44 cp -a $install/* $fs
45 }