sys-apps/idle3-tools: bump to version 0.9.3_pre20120123
authorConrad Kostecki <conrad@kostecki.com>
Mon, 9 Jul 2018 21:08:10 +0000 (23:08 +0200)
committerTony Vroon <chainsaw@gentoo.org>
Wed, 11 Jul 2018 10:47:04 +0000 (11:47 +0100)
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9163

sys-apps/idle3-tools/Manifest
sys-apps/idle3-tools/files/makefile.patch [new file with mode: 0644]
sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild [new file with mode: 0644]
sys-apps/idle3-tools/metadata.xml

index 2beb27eb9ac2a230573d47bcc4baa06e4716d9f0..ce411a13007a19e808bc152476ecc96151dca7e8 100644 (file)
@@ -1 +1,2 @@
 DIST idle3-tools-0.9.1.tgz 21201 BLAKE2B 07f8f5971e8ce48d7dbf793011ae3a9697b8d9abebeca430724d241991e0b3605790eee3b50ea035e699e955557b8225ec9b66eac74a435a106e09a768c6e610 SHA512 512991fad786684bd127f7ad3af94dcea4e28cd88d52221007436172725b8d2c0c2edd578c4c95bbcd425339ed664b9d81adbabbc2bb8a4a3ea71500e21db01e
+DIST idle3-tools-0.9.3_pre20120123.tar.bz2 19842 BLAKE2B 09095a1382e116c6171cf38c2d9cbdba32e38b3890f5169ed966b707bcd27f70e78efaef8c3500499fc261347c1cc228a8b39d910d719451cc11cc40fcb71b1a SHA512 309a6e500b71d64d569729f44b597fd218f983b9018373a4871a62137b32bd540524b757648fe9e873d949de772f26428cb82d16b367212e6d1fb592aa7bfbf1
diff --git a/sys-apps/idle3-tools/files/makefile.patch b/sys-apps/idle3-tools/files/makefile.patch
new file mode 100644 (file)
index 0000000..ed76049
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/Makefile 2012-01-11 17:18:57.000000000 +0100
++++ b/Makefile 2018-07-09 23:00:04.111252307 +0200
+@@ -6,16 +6,15 @@
+ binprefix = 
+ manprefix = /usr
+ exec_prefix = $(binprefix)/
+-sbindir = $(exec_prefix)sbin
++sbindir = $(exec_prefix)usr/sbin
+ mandir = $(manprefix)/share/man
+ oldmandir = $(manprefix)/man
+-CC = gcc
++CC ?= gcc
+ STRIP = strip
+-CFLAGS := -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
++CFLAGS := -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
+-LDFLAGS = -s
+ #LDFLAGS = -s -static
+ INSTALL = install
+ INSTALL_DATA = $(INSTALL) -m 644
diff --git a/sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild b/sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild
new file mode 100644 (file)
index 0000000..b59424a
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Set, get or disable the value of the idle3 timer found on WD HDDs"
+HOMEPAGE="http://idle3-tools.sourceforge.net/"
+SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+PATCHES=( "${FILESDIR}"/makefile.patch )
+
+src_compile() {
+       CC="$(tc-getCC)" emake
+}
index 2690edae260a86e9ef33d6d472c44fb03de6b32e..6d8e89f781f0450fe638805eb268870ca7e741de 100644 (file)
@@ -1,15 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <!-- maintainer-needed -->
-       <longdescription lang="en">
-               Idle3-tools provides a linux/unix utility that can disable, get and set the value
-               of the infamous idle3 timer found on recent Western Digital Hard Disk Drives. It
-               can be used as an alternative to the official wdidle3.exe proprietary utility,
-               without the need to reboot in a DOS environement. A power off/on cycle of the
-               drive will still be mandatory for new settings to be taken into account.
+       <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>
+               Idle3-tools provides a utility, that can disable, get and set the value
+               of the infamous idle3 timer, found on recent Western Digital Hard Disk Drives.
+               It can be used as an alternative to the official wdidle3.exe proprietary utility,
+               without the need to reboot into a DOS environement. A full power up cycle of the
+               drive will be still mandatory, for new settings to be taken into account.
        </longdescription>
        <upstream>
+               <bugs-to>https://sourceforge.net/p/idle3-tools/bugs/</bugs-to>
                <remote-id type="sourceforge">idle3-tools</remote-id>
        </upstream>
 </pkgmetadata>