updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-libexif / PKGBUILD
blob70526c1096c5173229e5ed6a9de50b5f5d02a99f
1 # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
3 pkgname=mingw32-libexif
4 _pkgname=libexif
5 pkgver=0.6.19
6 pkgrel=1
7 pkgdesc="A library to parse an EXIF file and read the data from those tags"
8 arch=(i686 x86_64)
9 license=('LGPL')
10 url="http://sourceforge.net/projects/libexif"
11 depends=('mingw32-gcc')
12 options=('!libtool')
13 source=(http://downloads.sf.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2)
14 md5sums=('56144a030a4c875c600b1ccf713f69f7')
16 build() {
17   unset LDFLAGS
19   cd "${srcdir}/${_pkgname}-${pkgver}"
20   ./configure --prefix=/usr/i486-mingw32 \
21                 --host=i486-mingw32 \
22                 --build=$CHOST
23   make
24   make DESTDIR="${pkgdir}" install
25   
26   find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
27       | xargs -rtl1 i486-mingw32-strip -g