mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
gui-apps/packettracer: new package, add 8.2.0
Signed-off-by: Rahul Sandhu <rahul@sandhuservices.dev>
This commit is contained in:
43
gui-apps/packettracer/packettracer-8.2.0.ebuild
Normal file
43
gui-apps/packettracer/packettracer-8.2.0.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Cisco's packet tracer"
|
||||
HOMEPAGE="https://www.netacad.com/portal/resources/packet-tracer"
|
||||
SRC_URI="CiscoPacketTracer_820_Ubuntu_64bit.deb"
|
||||
|
||||
LICENSE="Cisco"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RESTRICT="fetch mirror strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/icu
|
||||
x11-libs/xcb-util
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
QA_PREBUILT="opt/pt/*"
|
||||
|
||||
pkg_nofetch(){
|
||||
ewarn "To fetch sources, you need a Cisco account which is"
|
||||
ewarn "available if you're a web-learning student, instructor"
|
||||
ewarn "or you sale Cisco hardware, etc."
|
||||
ewarn "after that, go to https://www.netacad.com and login with"
|
||||
ewarn "your account, and after that, you should download a file"
|
||||
ewarn "named \"${A}\" then move it to"
|
||||
ewarn "your DISTDIR directory"
|
||||
ewarn "and then, you can proceed with the installation."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
cp -r . "${ED}"
|
||||
for icon in pka pkt pkz; do
|
||||
newicon -s 48x48 -c mimetypes opt/pt/art/${icon}.png application-x-${icon}.png
|
||||
done
|
||||
dobin opt/pt/packettracer
|
||||
}
|
||||
Reference in New Issue
Block a user