mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
1,017 B
Bash
24 lines
1,017 B
Bash
pkgname=vde2
|
|
pkgver=2.2.2
|
|
pkgrel=3
|
|
pkgdesc="Virtual Distributed Ethernet for qemu"
|
|
url="http://sourceforge.net/projects/vde/"
|
|
license=("GPL")
|
|
arch=('i686' 'x86_64')
|
|
install=vde2.install
|
|
source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2 \
|
|
rcdvde dhcpd.conf.sample iptables.rules.sample)
|
|
md5sums=('b198b92d511e4a6276b3bc87dfebe5d7'
|
|
'b5d65d8c28755bb9139211f1ef6e99d2'
|
|
'7d9bc56d2e561d849e915000d1c0f269'
|
|
'a920123fc620bcedbccb703a8d1bdc55')
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -p1 < ../../vde-path_max.patch
|
|
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vde2
|
|
make || return 1
|
|
make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc libexecdir=$pkgdir/usr/lib/vde2 install && \
|
|
install -m 755 -D ../rcdvde $pkgdir/etc/rc.d/vde || return 1
|
|
install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample || return 1
|
|
install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample || return 1
|
|
}
|