summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-strongswan/PKGBUILD
blob: 3c30f3615cc5a1780586ccb03f621f1ebdba2c3b (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: Michael Seiwald <michael@mseiwald.at>
# Maintainer: 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' 'mips64el')
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: