wok-6.x annotate mingw32-w32api-headers/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | 42924af752bc |
children | afae00265386 |
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@12905 | 22 # Rules to configure and make the package. |
pascal@12905 | 23 compile_rules() |
pascal@12905 | 24 { |
pascal@12905 | 25 cd $src |
pascal@12905 | 26 |
pascal@15583 | 27 mkdir -p $DESTDIR$MINGW32_ROOT |
pascal@15583 | 28 cp -a include $DESTDIR$MINGW32_ROOT |
pascal@12905 | 29 } |
pascal@12905 | 30 |
pascal@12905 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12905 | 32 genpkg_rules() |
pascal@12905 | 33 { |
pascal@12905 | 34 mkdir -p $fs |
pascal@15583 | 35 cp -a $install/* $fs |
pascal@12905 | 36 } |