wok view mingw32-w32api-headers/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | afae00265386 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mingw32-w32api-headers"
4 SOURCE="w32api"
5 VERSION="3.13-mingw32"
6 CATEGORY="development"
7 SHORT_DESC="MinGW32 w32api 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/w32api/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/w32api-||;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 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs
43 cp -a $install/* $fs
44 }