summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-strongswan/PKGBUILD
blob: 7133769f25474b2e1a7d7dbb0604043844d3a814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor (Arch): Michael Seiwald <michael@mseiwald.at>
# Maintainer (Arch): Dmitry Korzhevin <dkorzhevin at gmail dot com>
pkgname=networkmanager-strongswan
_pkgname=NetworkManager-strongswan
pkgver=1.3.0
pkgrel=2
pkgdesc="strongswan NetworkManager plugin"
arch=('i686' 'x86_64')
url="http://wiki.strongswan.org/projects/strongswan/wiki/NetworkManager"
license=('GPL')
depends=(networkmanager strongswan libgnomeui)
makedepends=(intltool)
source=(http://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.gz)
md5sums=('215f1d3b7b65be236b86bf30b6a4615b')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  ./configure --sysconfdir=/etc \
              --prefix=/usr \
              --libexecdir=/usr/lib \
              --with-charon=/usr/lib/strongswan/charon \
              CFLAGS="$CFLAGS -Wno-error=unused-local-typedefs"
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  #make install
}

# vim:set ts=2 sw=2 et: