blob: d202e68596417d450a9e6c6402ce31b6d35d9e59 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ubridge
pkgver=0.9.11
pkgrel=0
pkgdesc="Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces."
url="https://github.com/GNS3/ubridge"
arch="all"
license="GPL3"
makedepends="$depends_dev libpcap-dev linux-headers"
options="!check"
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/GNS3/${pkgname}/archive/v${pkgver}.tar.gz
musl-fixes.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -dm755 ${pkgdir}/usr/share/doc/${pkgname}
install -m644 ${srcdir}/${pkgname}-${pkgver}/README.rst -t ${pkgdir}/usr/share/doc/${pkgname}
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
sha512sums="1942966b79c4a6078fd0e7ff19e0f0f3c405bde5604b3110e2a59352613639d1fd5700ae90d9ab0080ed0f7e91d1540173ef395f8f33f75c53360e1adf4852d7 ubridge-0.9.11.tar.gz
748a33f8c9e6841febcecc6d1fbad7eb5a07dbd05c61bc338dedced04adf8085d4386ae4461bcc406d0975b78ac5a656c260c2443a7369d6876f963ae8e7f128 musl-fixes.patch"
|