summaryrefslogtreecommitdiff
path: root/dev-embedded/dfu-programmer
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/dfu-programmer')
-rw-r--r--dev-embedded/dfu-programmer/Manifest5
-rw-r--r--dev-embedded/dfu-programmer/dfu-programmer-1.0.0.ebuild (renamed from dev-embedded/dfu-programmer/dfu-programmer-0.7.2-r2.ebuild)24
-rw-r--r--dev-embedded/dfu-programmer/metadata.xml1
3 files changed, 16 insertions, 14 deletions
diff --git a/dev-embedded/dfu-programmer/Manifest b/dev-embedded/dfu-programmer/Manifest
index ef4eb43224b2..6c7ef3610ac3 100644
--- a/dev-embedded/dfu-programmer/Manifest
+++ b/dev-embedded/dfu-programmer/Manifest
@@ -1,4 +1,5 @@
DIST dfu-programmer-0.7.2.tar.gz 146613 BLAKE2B 85222185bdbfdb90c06ece2a284f6f6e15fe5118a1934948a0bca6364902743a86429ea13d5aabc2a948f6f2ce41177b6021ae85a8ad22b75a026507253380d8 SHA512 429b89192bb5a9653ad8678dfc182bfc30eb057d0d1f72fe88efdf85005d3ad557e0f572f4fad3346f1f1078cd273a289f4bba2663bb1f840e6bf724d5293db4
+DIST dfu-programmer-1.0.0.tar.gz 78504 BLAKE2B ae05a92c95a17ee9b5e2266e380c43d0cdadb3be76e481eb5de321116aa1d930c733ad3a086e239b817a475d36185157715e7907d564c2001a9ce25df01d46c6 SHA512 abb73970e10017f111b118c5be0b98a3fe7ef8c95794b5ca701f21b5a40f518f46ff8a392f09e7eea2ad9a4eb6c43ecc9514bee817c01acf0d6135a5f8f9048f
EBUILD dfu-programmer-0.7.2-r1.ebuild 1272 BLAKE2B e396e4aeeda24b974a914dd3bfd4fae76a727845246e17c5c2d0b630b353e384f2bffecd5424e761ba6828d9346b279184ef4c09963a66a55442508eb3fc183b SHA512 dfb3a40db708e16e4e80b10f1fd614f8e0be80ae40335493f2cd900b5f51f6e1ef1aca97803662773b23ebb8fa84d7862db4a67af3622f829a3ce7ec62f3015e
-EBUILD dfu-programmer-0.7.2-r2.ebuild 1357 BLAKE2B a0df8859861d9b59c0ead2cd2f7a5702f82f8cef9312379794b2fb78442a0911ea3220343b9c6236795921dc04481c550aeff7f2165e55b5ec1694100f67b623 SHA512 77bac6eff37ccdd38f7126f017768af75af7572a26d56d44d6c7f49e2de5c3d5c00486039f0fe7965ee24e2058b5f7c58761199b0590c042bb26a1b70a37fe77
-MISC metadata.xml 336 BLAKE2B c6bd5e8fe7f2fb76d339c89d66edf9dcc29d1230bc5d3310fd9c52d8c6b94e5a50628a301148d41431de3ff73ac0129e1d670e394e688a8f34c5712afd574a1d SHA512 065afd5762bbcff0e406cf6767adb6cb5f34a73f3b96e3cb2ef2aab46b887bbcffc789bc9d9efd3e20f1a73039a1442647d109d1cc87c034241e1a068c2d35eb
+EBUILD dfu-programmer-1.0.0.ebuild 1209 BLAKE2B 53fff4d9ab44d5ad3f089cb0f2e3741edc8b8aa041cc929f63151b62f8c48b247b7f35751b48b8d627f66d7d74f4456e72a2ddb1fbe77ca5eb0e22ed8bae3b17 SHA512 8db6ef5dd7e3992684ffa248cd99f5063bc5fa1d22240126c31a94e9efa0ba404a904c0b30bdeb7b2e8705d4055698c7452120bf310712a3858847fe19b1bb12
+MISC metadata.xml 405 BLAKE2B 2df0f01b21eced13afb92b9e0c07d4a6f984c86a82013d60e2a1fd93cfc216c89b4b6464bd25dbf59f572147da411a8ddaa7fcb6d1fb7feb47d3b124491505a7 SHA512 d7e43077a6c74c5fd982a084abaca6de9995658d05fc9a0617a39228202cbd62ffcf382f7b0969113b6a7bdb0d65a150c7fdd75df09c9734d8ea23e20db13a1a
diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.7.2-r2.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-1.0.0.ebuild
index 226ed4cd05d2..59c09044f9ec 100644
--- a/dev-embedded/dfu-programmer/dfu-programmer-0.7.2-r2.ebuild
+++ b/dev-embedded/dfu-programmer/dfu-programmer-1.0.0.ebuild
@@ -3,12 +3,16 @@
EAPI=8
-inherit toolchain-funcs udev
+inherit autotools udev
DESCRIPTION="A Device Firmware Update based USB programmer for Atmel chips"
-HOMEPAGE="https://dfu-programmer.github.io/ https://sourceforge.net/projects/dfu-programmer/"
+HOMEPAGE="
+ https://dfu-programmer.github.io/
+ https://sourceforge.net/projects/dfu-programmer/
+ https://github.com/dfu-programmer/dfu-programmer
+"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -17,19 +21,15 @@ KEYWORDS="~amd64 ~arm ~arm64"
RDEPEND="
acct-group/plugdev
virtual/libusb:1
- virtual/udev"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/udev
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
default
- # Upstream has fixed this in their configure already.
- tc-export CPP PKG_CONFIG
- sed -i \
- -e "/LIBUSB_1_0_CFLAGS=/s:=.*:='$(${PKG_CONFIG} --cflags libusb-1.0)':" \
- -e "/LIBUSB_1_0_LIBS=/s:=.*:='$(${PKG_CONFIG} --libs libusb-1.0)':" \
- configure || die
+ eautoreconf
}
src_install() {
diff --git a/dev-embedded/dfu-programmer/metadata.xml b/dev-embedded/dfu-programmer/metadata.xml
index 44ef01106a0a..f5df457efa6e 100644
--- a/dev-embedded/dfu-programmer/metadata.xml
+++ b/dev-embedded/dfu-programmer/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">dfu-programmer</remote-id>
+ <remote-id type="github">dfu-programmer/dfu-programmer</remote-id>
</upstream>
</pkgmetadata>