summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-07-08 00:22:29 +0200
committerTony Vroon <chainsaw@gentoo.org>2018-07-11 09:24:00 +0100
commit7446da1be974bbd2c93e72d64bb67a9430b5be43 (patch)
tree99056b9ed906d34da90ca385d1e89369e2e6a705 /app-misc/prog-express
parentlicenses/prog-express: add license for app-misc/prog-express (diff)
downloadgentoo-7446da1be974bbd2c93e72d64bb67a9430b5be43.tar.gz
gentoo-7446da1be974bbd2c93e72d64bb67a9430b5be43.tar.bz2
gentoo-7446da1be974bbd2c93e72d64bb67a9430b5be43.zip
app-misc/prog-express: New package
Closes: https://bugs.gentoo.org/651396 Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-misc/prog-express')
-rw-r--r--app-misc/prog-express/Manifest2
-rw-r--r--app-misc/prog-express/files/pe.exe.config3
-rw-r--r--app-misc/prog-express/metadata.xml16
-rw-r--r--app-misc/prog-express/prog-express-3.7.8.ebuild70
4 files changed, 91 insertions, 0 deletions
diff --git a/app-misc/prog-express/Manifest b/app-misc/prog-express/Manifest
new file mode 100644
index 000000000000..91e532696e41
--- /dev/null
+++ b/app-misc/prog-express/Manifest
@@ -0,0 +1,2 @@
+DIST prog-express-3.7.8-1.amd64.deb 36468792 BLAKE2B 7edc5b4c9b7c145877298ac33db743960850d2fbd4cc33943612573277a32935dba15a531f13ad7d75309291cf74ca8f0b80b084dafd840f7831362315c6b8c5 SHA512 647549edd846330044bf34eb40436cc622c4e0871726a31049a93b032e5e1c4428231bee97a21cf75baeeade4e651f7d593ed0cdeb0698679582ff6a7f4293e2
+DIST prog-express-3.7.8-1.i386.deb 36468530 BLAKE2B 9e6e81546889a5892bce33168e26b067abe91ceecd9a77f8a0f4af788cbb9da3930e3c1fcf682d6b5aceda04bc84d7ddcf7f45ee4936be8833be4b5244f12541 SHA512 149ae0150d5f8cb99aec92485e4309973f425a87d5c46971b850c69263ea2cbf39df73025709327f80e8b01219114ef9b7219bad7647d947de3625e1bec4904b
diff --git a/app-misc/prog-express/files/pe.exe.config b/app-misc/prog-express/files/pe.exe.config
new file mode 100644
index 000000000000..56cb1a6e5193
--- /dev/null
+++ b/app-misc/prog-express/files/pe.exe.config
@@ -0,0 +1,3 @@
+<configuration>
+ <dllmap os="linux" dll="libusb-1.0.dll" target="libusb-1.0.so.0" />
+</configuration>
diff --git a/app-misc/prog-express/metadata.xml b/app-misc/prog-express/metadata.xml
new file mode 100644
index 000000000000..0a374610972e
--- /dev/null
+++ b/app-misc/prog-express/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Prog-Express is the programming device control software,
+ suitable for all USB programming devices of Batronix.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/prog-express/prog-express-3.7.8.ebuild b/app-misc/prog-express/prog-express-3.7.8.ebuild
new file mode 100644
index 000000000000..3cc76c3e2683
--- /dev/null
+++ b/app-misc/prog-express/prog-express-3.7.8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 usr/bin/bxusb-gui usr/bin/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.1 usr/share/man/man1/bxusb.1 usr/share/man/man1/bxusb-gui.1 usr/share/man/man1/prog-express.1
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}