1 # Maintainer: rubenvb vanboxem <dottie> ruben <attie> gmail <dottie> com
2 pkgname=mingw-w64-tools
5 pkgdesc='MinGW-w64 gendef and genidl tools'
7 url='http://mingw-w64.sourceforge.net'
17 options=('!libtool' '!emptydirs')
18 source=(http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.gz)
19 md5sums=('ebb650e66f18f242676a53e0de05f3a9')
23 msg "Building MinGW-w64-tools"
24 mkdir -p ${srcdir}/gendef-build && cd ${srcdir}/gendef-build
25 ${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/gendef/configure --prefix=/usr
27 mkdir -p ${srcdir}/genidl-build && cd ${srcdir}/genidl-build
28 ${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/genidl/configure --prefix=/usr
33 msg "Installing MinGW-w64-tools"
34 cd ${srcdir}/gendef-build
35 make DESTDIR=${pkgdir} install
36 cd ${srcdir}/genidl-build
37 make DESTDIR=${pkgdir} install
38 msg "Installing licenses"
39 install -Dm644 ${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/gendef/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.gendef
40 install -Dm644 ${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/genidl/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genidl