blob: e109ccd4d5484762c34e3511e14f6719e6822971 (
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
33
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 198476 2013-10-30 15:05:50Z allan $
# Contributor: Sergej Pupykin
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=vde2
pkgver=2.3.2
pkgrel=5
pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
url="http://sourceforge.net/projects/vde/"
license=("GPL" "LGPL" "CUSTOM")
arch=('i686' 'x86_64' 'mips64el')
depends=('bash' 'libpcap' 'openssl')
makedepends=('python')
source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
dhcpd.conf.sample
iptables.rules.sample
vde-config.sample
vde-connection.sample)
install=vde2.install
options=(!makeflags)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
--enable-experimental
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc sbindir=$pkgdir/usr/bin libexecdir=$pkgdir/usr/lib/vde2 install
install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample
# install slirp license
install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
}
md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
'7d9bc56d2e561d849e915000d1c0f269'
'a920123fc620bcedbccb703a8d1bdc55'
'f47d3372382dc9d67c1174d2796729fe'
'63033c33565e2030541c5e05e9d9b063')
|