diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/mingw32-pthreads/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/mingw32-pthreads/PKGBUILD')
-rw-r--r-- | community/mingw32-pthreads/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/mingw32-pthreads/PKGBUILD b/community/mingw32-pthreads/PKGBUILD new file mode 100644 index 000000000..f34d87ddf --- /dev/null +++ b/community/mingw32-pthreads/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 73530 2012-07-09 08:46:34Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Marcel Schneider marcelATcoopmastersDOTde + +pkgname=mingw32-pthreads +pkgver=2.9.1 +pkgrel=1 +arch=(i686 x86_64) +pkgdesc="The POSIX 1003.1-2001 standard for writing multithreaded applications." +license=(LGPL) +makedepends=('mingw32-gcc-base' 'mingw32-runtime' 'mingw32-w32api') +url="http://sourceware.org/pthreads-win32/" +options=(!strip) +source=(ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-${pkgver//./-}-release.tar.gz) +md5sums=('36ba827d6aa0fa9f9ae740a35626e2e3') + +build() { + cd $srcdir/pthreads-w32-${pkgver//./-}-release + make CROSS=i486-mingw32- clean GC +} + +package() { + cd $srcdir/pthreads-w32-${pkgver//./-}-release + mkdir $pkgdir/usr + mkdir $pkgdir/usr/i486-mingw32 + mkdir $pkgdir/usr/i486-mingw32/include + mkdir $pkgdir/usr/i486-mingw32/lib + install $srcdir/pthreads-w32-${pkgver//./-}-release/pthread.h $pkgdir/usr/i486-mingw32/include/pthread.h + install $srcdir/pthreads-w32-${pkgver//./-}-release/sched.h $pkgdir/usr/i486-mingw32/include/sched.h + install $srcdir/pthreads-w32-${pkgver//./-}-release/semaphore.h $pkgdir/usr/i486-mingw32/include/semaphore.h + install $srcdir/pthreads-w32-${pkgver//./-}-release/libpthreadGC2.a $pkgdir/usr/i486-mingw32/lib/libpthread.a + install $srcdir/pthreads-w32-${pkgver//./-}-release/pthreadGC2.dll $pkgdir/usr/i486-mingw32/lib/ +} |