diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-06 08:57:56 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-06 08:57:56 +0000 |
commit | ee676dd7ace5f5cf0d4c0d11a6ec57fbf654457d (patch) | |
tree | 78e1d53e35af65b13ea7fa3a273dc8fff968d7cc /testing/gns3-server | |
parent | 6a36f9fe52cc67f3a510b78312d9cc3fd7d1de5c (diff) | |
download | aports-ee676dd7ace5f5cf0d4c0d11a6ec57fbf654457d.tar.bz2 aports-ee676dd7ace5f5cf0d4c0d11a6ec57fbf654457d.tar.xz |
testing/gns3-server: new aport
Diffstat (limited to 'testing/gns3-server')
-rw-r--r-- | testing/gns3-server/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/gns3-server/APKBUILD b/testing/gns3-server/APKBUILD new file mode 100644 index 0000000000..4e9f02cc6e --- /dev/null +++ b/testing/gns3-server/APKBUILD @@ -0,0 +1,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" |