summaryrefslogtreecommitdiff
path: root/mingw-w64-headers/Pkgfile
diff options
context:
space:
mode:
authorMatt Housh <jaeger@crux.ninja>2021-01-26 15:55:26 -0600
committerMatt Housh <jaeger@crux.ninja>2021-01-26 15:55:26 -0600
commitb0464313b1def9dfb7f8c7c732d58ecf2c826b01 (patch)
tree871c6b99aabdee6c40c777682f56d11d9057d764 /mingw-w64-headers/Pkgfile
parent1455f8d0f259771385f451b3765d98b7570f6968 (diff)
downloadcontrib-b0464313b1def9dfb7f8c7c732d58ecf2c826b01.tar.gz
contrib-b0464313b1def9dfb7f8c7c732d58ecf2c826b01.tar.xz
mingw-w64-headers: initial import, version 8.0.0
Diffstat (limited to 'mingw-w64-headers/Pkgfile')
-rw-r--r--mingw-w64-headers/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/mingw-w64-headers/Pkgfile b/mingw-w64-headers/Pkgfile
new file mode 100644
index 000000000..2d7439b6c
--- /dev/null
+++ b/mingw-w64-headers/Pkgfile
@@ -0,0 +1,21 @@
+# Description: headers for mingw-w64 toolchain
+# URL: http://mingw-w64.org/
+# Maintainer: Matt Housh, jaeger at crux dot nija
+
+name=mingw-w64-headers
+version=8.0.0
+release=1
+source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v$version.tar.bz2)
+
+build() {
+ for T in {i686,x86_64}-w64-mingw32; do
+ mkdir build-$T
+ cd build-$T
+ ../mingw-w64-v$version/mingw-w64-headers/configure --prefix=/usr/$T --host=$T
+ make DESTDIR=$PKG install
+ cd ..
+ done
+
+ ln -sv x86_64-w64-mingw32 $PKG/usr/mingw
+ ln -sv lib $PKG/usr/x86_64-w64-mingw32/lib64
+}

Generated by cgit