updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ike / PKGBUILD
blob8e5f8b63d81f5d7d51244a0c830d7c910489198c
1 # Maintainer: Taylor Hedberg <t@tmh.cc>
3 pkgname=ike
4 pkgver=2.1.7
5 pkgrel=2
6 pkgdesc='Shrew Soft VPN client for Linux'
7 arch=(i686 x86_64)
8 url='http://www.shrew.net'
9 license=(BSD)
10 depends=(openssl qt3)
11 makedepends=(cmake)
12 optdepends=(openldap)
13 source=("http://www.shrew.net/download/ike/ike-$pkgver-release.tgz" ike.rc.d)
14 md5sums=(8551a521066fcad988b222921a905723 4ef4e837e93a3b39bed8545d6bb2a565)
16 build () {
17     cd "$srcdir/ike"
18     cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES \
19         -DQT_QT_LIBRARY=/opt/qt/lib/libqt-mt.so \
20         -DQT_INCLUDE_DIR=/opt/qt/include -DQT_MOC_EXECUTABLE=/opt/qt/bin/moc \
21         -DQT_UIC_EXECUTABLE=/opt/qt/bin/uic -DMANDIR=/usr/share/man
22     make
25 package () {
26     cd "$srcdir/ike"
27     make DESTDIR="$pkgdir/" install
28     install -Dm 755 $srcdir/ike.rc.d $pkgdir/etc/rc.d/iked