wok view mingw32-w32api-headers/receipt @ rev 24865

updated lsscsi (0.31 -> 0.32)
author Hans-G?nter Theisgen
date Wed Mar 30 06:29:17 2022 +0100 (2022-03-30)
parents bb009a6ef036
children d3556b8f5c3d
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|.*href="|"https://sourceforge.net|;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 }