updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / mingw32-libsigcpp1.2 / PKGBUILD
blobf2f8212965e50317367be258f447f8245f3e335e
1 # Contributor: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
3 # Contributor: Alex Ghoust <ghoust@skyper.homelinux.org>
4 pkgname=mingw32-libsigcpp1.2
5 pkgver=1.2.7
6 pkgrel=1
7 pkgdesc="A typesafe callback system for standard C++ (mingw32)"
8 arch=('i686' 'x86_64')
9 url="http://libsigc.sourceforge.net/"
10 license=('LGPL')
11 depends=('glibc')
12 makedepends=('setconf')
13 source=(http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-$pkgver.tar.bz2)
14 md5sums=('212f48536019e1f003d2509b4c9b36df')
16 build() {
17   _target=i486-mingw32
18   cd "$srcdir/libsigc++-$pkgver"
19   unset LDFLAGS
20   ./configure --prefix=/usr/${_target} --build=$CHOST --host=${_target} || return 1
21   setconf Makefile SUBDIRS "sigc++ doc"
22   make || return 1
23   make DESTDIR="$pkgdir/" install || return 1
24   find "$pkgdir" -name "*.la" -exec rm {} +
25   install -Dm644 COPYING $pkgdir/usr/i486-mingw32/share/licenses/$pkgname/COPYING
28 # vim:set ts=2 sw=2 et: