summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-10-29 00:19:32 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-10-30 00:14:52 +0100
commit138d11bc6ce545069ca45f984f9fe88621922c10 (patch)
tree2a484199877831ba97d9108ac1f68da47d1af1be /app-misc
parentdev-python/pallets-sphinx-themes: add missing RDEPENDs. (diff)
downloadgentoo-138d11bc6ce545069ca45f984f9fe88621922c10.tar.gz
gentoo-138d11bc6ce545069ca45f984f9fe88621922c10.tar.bz2
gentoo-138d11bc6ce545069ca45f984f9fe88621922c10.zip
app-misc/prog-express: bump to EAPI=7.
Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10287 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/prog-express/prog-express-3.7.8-r1.ebuild76
1 files changed, 76 insertions, 0 deletions
diff --git a/app-misc/prog-express/prog-express-3.7.8-r1.ebuild b/app-misc/prog-express/prog-express-3.7.8-r1.ebuild
new file mode 100644
index 00000000000..8f6bb19e60e
--- /dev/null
+++ b/app-misc/prog-express/prog-express-3.7.8-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit desktop udev unpacker
+
+DESCRIPTION="A modern and intuitive control software for the Batronix USB programming devices"
+HOMEPAGE="https://www.batronix.com"
+SRC_URI="
+ amd64? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.amd64.deb )
+ x86? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.i386.deb )
+"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="prog-express"
+SLOT="0"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-dotnet/gtk-sharp:2
+ dev-dotnet/libgdiplus
+ dev-lang/mono
+ dev-lang/mono-basic
+ virtual/libusb:1
+ virtual/udev
+"
+
+S="${WORKDIR}"
+
+DOCS=( "usr/share/doc/prog-express/changelog" "usr/share/doc/prog-express/manuals" )
+
+QA_PREBUILT="
+ usr/bin/bxusb
+ usr/bin/bxusb-gui
+ usr/bin/prog-express
+ usr/sbin/bxfxload
+"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ gunzip usr/share/doc/prog-express/changelog.gz usr/share/man/man1/*.gz || die
+
+ default
+}
+
+src_install() {
+ dobin usr/bin/{bxusb,bxusb-gui,prog-express}
+
+ dosbin usr/sbin/bxfxload
+
+ insinto /usr/lib
+ doins -r usr/lib/bxusb usr/lib/prog-express
+
+ insinto /usr/lib/prog-express
+ doins "${FILESDIR}"/pe.exe.config
+
+ udev_dorules lib/udev/rules.d/85-batronix-devices.rules
+
+ domenu usr/share/applications/prog-express.desktop
+
+ doicon usr/share/pixmaps/prog-express.png
+
+ doman usr/share/man/man1/{bxfxload,bxusb,bxusb-gui,prog-express}.1
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}