app-misc/prog-express: New package

Closes: https://bugs.gentoo.org/651396
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Conrad Kostecki
2018-07-08 00:22:29 +02:00
committed by Tony Vroon
parent 72b47cdccf
commit 7446da1be9
4 changed files with 91 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,3 @@
<configuration>
<dllmap os="linux" dll="libusb-1.0.dll" target="libusb-1.0.so.0" />
</configuration>

View File

@@ -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>

View File

@@ -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
}