blob: 2c4b125bd854644f35571a3ffd2dca3f24d3cff0 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-server
pkgver=1.4.6
pkgrel=0
pkgdesc="GNS3 network simulator. Server package."
url="https://github.com/GNS3/gns3-server"
arch="noarch"
license="GPL3"
depends="py-psutil py-jinja2 python3 dynamips py-aiohttp pytest"
depends_dev=""
makedepends="$depends_dev py-setuptools python3-dev linux-headers pytest"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF
gns3-server has several optional packages that must be installed manually for additional functionality:
apk add qemu
apk add wiresark
apk add ubridge
apk add iouyap
apk add vpcs
EOF
}
md5sums="d1433fd472140cf230328d43e5b57562 gns3-server-1.4.6.tar.gz"
sha256sums="786a9fb0b5882f66dd9292428c54de5c4da81419e114ae6c0f77030d89eca463 gns3-server-1.4.6.tar.gz"
sha512sums="7e659bc283b8e078c4165b3df09b6db03707f413239d359710520e53c4e6ce0c9c820beb29ad8c0889b41fa878ec55e640318c2d70f0d0b6300abcf4062010cb gns3-server-1.4.6.tar.gz"
|