1 # Contributor: Andre Klitzing <aklitzing () online () de>
2 #Maintainer: schalaalexiazeal@gmail.com
8 pkgdesc="wxMSW is a port of wxWidgets for MS Windows"
10 url="http://docs.wxwidgets.org/stable/wx_wxmswport.html"
11 license=('custom:wxWindows')
12 depends=('mingw32-runtime' 'mingw32-libpng' 'mingw32-expat' 'mingw32-zlib')
13 makedepends=('mingw32-w32api' 'mingw32-gcc' 'mingw32-binutils' 'hd2u')
14 conflicts=('mingw32-wxmsw-static')
15 options=(!strip !buildflags)
17 source=(http://downloads.sourceforge.net/wxwindows/$_pkgname-$pkgver.tar.bz2)
18 md5sums=('4bda849b9f7c66b58c4bc92e505ea714')
21 cd "$srcdir/$_pkgname-$pkgver"
23 ./configure --prefix=/usr/${_target} --build=$CHOST --host=${_target} --with-msw --with-expat --enable-unicode --enable-shared || return 1
25 make DESTDIR="$pkgdir/" install
27 msg "Get rid of stupid carriage return (^M problem) in all text files!"
29 find ./ -type f -exec dos2unix --d2u --skipbin {} \;