updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mingw32-libltdl / PKGBUILD
blob06c70b506aeb5f35d02c9a4376983f1f9b8876a3
1 # Maintainer: Matěj Týč <bubla@users.sf.net>
3 # NOTE: requires rebuilt with each new gcc version
5 pkgname=mingw32-libltdl
6 pkgver=2.4
7 pkgrel=1
8 pkgdesc="mingw32 port of libtool's libltdl library"
9 arch=('any')
10 url="http://www.gnu.org/software/libtool"
11 license=('GPL')
12 depends=('mingw32-gcc')
13 options=('!libtool')
14 #install=libtool.install
15 source=(http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.xz)
16 md5sums=('4e6144439d95d7332dc50ace6dd24c55')
18 build() {
19   cd ${srcdir}/libtool-${pkgver}/libltdl
20   unset LDFLAGS
21   ./configure --host=i486-mingw32 --prefix=/usr/i486-mingw32 --enable-ltdl-install
22   make
25 package() {
26   cd ${srcdir}/libtool-${pkgver}/libltdl
27   make DESTDIR=${pkgdir} install