summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-04-14 11:55:24 +0000
committerMichael Weber <xmw@gentoo.org>2012-04-14 11:55:24 +0000
commit1e8e65845cbffb486c31897239c976a41e7c106c (patch)
tree21c542c1b95318b7449cde806690c80502bdcc83 /app-misc/hddled
parentRemove old. (diff)
downloadgentoo-2-1e8e65845cbffb486c31897239c976a41e7c106c.tar.gz
gentoo-2-1e8e65845cbffb486c31897239c976a41e7c106c.tar.bz2
gentoo-2-1e8e65845cbffb486c31897239c976a41e7c106c.zip
Initial import
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/hddled')
-rw-r--r--app-misc/hddled/ChangeLog10
-rw-r--r--app-misc/hddled/Manifest4
-rw-r--r--app-misc/hddled/hddled-0.2.ebuild40
-rw-r--r--app-misc/hddled/metadata.xml9
4 files changed, 63 insertions, 0 deletions
diff --git a/app-misc/hddled/ChangeLog b/app-misc/hddled/ChangeLog
new file mode 100644
index 000000000000..27f24f092550
--- /dev/null
+++ b/app-misc/hddled/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/hddled
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/hddled/ChangeLog,v 1.1 2012/04/14 11:55:24 xmw Exp $
+
+*hddled-0.2 (14 Apr 2012)
+
+ 14 Apr 2012; Michael Weber <xmw@gentoo.org> +hddled-0.2.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/app-misc/hddled/Manifest b/app-misc/hddled/Manifest
new file mode 100644
index 000000000000..63748978b4d5
--- /dev/null
+++ b/app-misc/hddled/Manifest
@@ -0,0 +1,4 @@
+DIST hddled-0.2.c 6259 RMD160 aa814f2e4e3ea9395654d0f7bb10bd2cff11c0e7 SHA1 847b266a07074994df0ff1262c8ca127a17e485c SHA256 ddb610243a8c7a0188fad73419c2b4c7eaabc019272b075359e8873324550370
+EBUILD hddled-0.2.ebuild 775 RMD160 699258560a39cfbca5bee36e16677ccc89284d41 SHA1 569b97b4b2ec8524035dd001b1a4ae8241dcca60 SHA256 11803c06fcc6b020209d4d8eed6e5662710557787d65ca6b6b069827ed63b21c
+MISC ChangeLog 244 RMD160 82a06671ffc26705e03dc0ddbb0aff16d2ea5629 SHA1 fc497c44714d4ea2516a7ae520729b86ad43a62f SHA256 fb886bec9a6861754b5629acd0735f1940b5a1f3c25d55aec51ffc6e9b8d9761
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
diff --git a/app-misc/hddled/hddled-0.2.ebuild b/app-misc/hddled/hddled-0.2.ebuild
new file mode 100644
index 000000000000..f5554842352f
--- /dev/null
+++ b/app-misc/hddled/hddled-0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/hddled/hddled-0.2.ebuild,v 1.1 2012/04/14 11:55:24 xmw Exp $
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="use scroll lock led as "
+HOMEPAGE="http://members.optusnet.com.au/foonly/whirlpool/code/"
+SRC_URI="http://xmw.de/mirror/${PN}/${P}.c"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp -v "${DISTDIR}"/${A} ${PN}.c || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
+ if use X ; then
+ $(tc-getCC) ${CFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
+ fi
+}
+
+src_install() {
+ dobin ${PN} || die
+ if use X ; then
+ dobin x${PN} || die
+ elog "X version was renamed to x${PN}"
+ fi
+}
diff --git a/app-misc/hddled/metadata.xml b/app-misc/hddled/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/app-misc/hddled/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+