blob: 4e9f02cc6ef3de1ba0091caad1967f9a6d5c67bc (
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.5
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="https://pypi.python.org/packages/source/g/$pkgname/$pkgname-$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 del wiresark
The following packages are currently not yet available on Alpine:
iouyap and vpcs"
EOF
}
md5sums="fffd3b94e8fb9c88afef0c3d828268cb gns3-server-1.4.5.tar.gz"
sha256sums="8866cf23ab800036f0e9cdc22b13aaf434382158bedaf656262b09c01af86e9c gns3-server-1.4.5.tar.gz"
sha512sums="f041b60499b8968b41a93df249d9db99c2ec72848c32c2601de48ddc85325fe04a0271244e51f7cfe75889cb742af516fa1fa7870f01dbe317af3b1956c38716 gns3-server-1.4.5.tar.gz"
|