# SliTaz package receipt. PACKAGE="mingw32-w32api-headers" SOURCE="w32api" VERSION="3.13-mingw32" CATEGORY="development" SHORT_DESC="MinGW32 w32api headers." MAINTAINER="rcx@zoominternet.net" LICENSE="PublicDomain" TARBALL="$SOURCE-$VERSION-src.tar.gz" WEB_SITE="http://www.mingw.org/" WGET_URL="$SF_MIRROR/mingw/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # Configuration only needs included if we're in the build/wok environment if [ -e $WOK/mingw32-toolchain/stuff/mingw32.conf ] ; then . $WOK/mingw32-toolchain/stuff/mingw32.conf fi # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/w32api-||;s|-src.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src mkdir -p $DESTDIR$MINGW32_ROOT cp -a include $DESTDIR$MINGW32_ROOT } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs cp -a $install/* $fs }