summaryrefslogtreecommitdiff
path: root/app-laptop/spicctrl
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/spicctrl')
-rw-r--r--app-laptop/spicctrl/Manifest6
-rw-r--r--app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch11
-rw-r--r--app-laptop/spicctrl/metadata.xml5
-rw-r--r--app-laptop/spicctrl/spicctrl-1.9-r1.ebuild28
4 files changed, 50 insertions, 0 deletions
diff --git a/app-laptop/spicctrl/Manifest b/app-laptop/spicctrl/Manifest
new file mode 100644
index 000000000000..a7bd39e1d15c
--- /dev/null
+++ b/app-laptop/spicctrl/Manifest
@@ -0,0 +1,6 @@
+AUX spicctrl-1.9-makefile.patch 284 SHA256 8802a44d110e14e5c6ff9d13d53f14d83c536527fc7072e09ed9580fb6f3080d SHA512 65a4dc464660cb7b157f3fd6c17dbd1ef9a1976525e68b3bbab72fbb389cc1ff98da43a7e332be360727852ffa86bd237ef633f8253cb1a731efa91a99e93913 WHIRLPOOL 36679d30386cd90072a818e3d8d852e78c7febe26db5a059a38dcff074ab177510c598770bcf6ca9debc9452dd25bc0d736a594e0b404990a6da47a460cc7f5b
+DIST spicctrl-1.9.tar.bz2 10917 SHA256 88d9795bf51af3496fdce2fec263363ff90929e0e7036f9c117fb2b829353b6b SHA512 7b1d7862a51dd3321fe84cc5921d71a8f0b978755cbd7c31e54a59ad1c9d3f781d649436bd9b7fba71446a593ad7e925470731f5bd135350942fb0c03fbd4d3e WHIRLPOOL 7d852723784dc9797b6f4f58b8d2aba54e2cd4ae70000e3482ed29354a0e2f8165ffc070721a60572d480b17bc4845906e09a4b2161f0b4977dae9322f053f5f
+EBUILD spicctrl-1.9-r1.ebuild 538 SHA256 1db06c0010c83d93a5cd82e748e5afc8863e5ef6d29b4331ab15306278b250ed SHA512 346ce1707c6c8baeabcbd89415ad8ce395a501fc5fb3ffe9c5c87b128da7737f9d0d6da28d2f2441142e1b340d693c8a8fc3f52b412caadc6d5149d18f4d5da5 WHIRLPOOL 00ea9aa4286abead9b3b59981a0b31ccb69c194a6e6aa444bf17a20a7795bbbbb0ac492791e017fc3d60a99f41eb615f1e53d6db54143ff8b59ed210dd3d72cf
+MISC ChangeLog 2565 SHA256 d423f4d02967950736b528d979c1b01105c1ffe3e74aa0ad237fc461eb15222d SHA512 eb20443c77943a9743818c983122fc42d0ebc93d9a1fbcfc49d2d6032a93a8061731d88809f56a5e625e2b1d962cf9436d39ab18a8bd729846b38e68fb7ed17a WHIRLPOOL fcf37bfe94e398a1b8f072fc583179b93fe62ca5619938dd0b1b2e73ba3a4dff93e60c841312b483c09889c8f6150ebf919e50f9f850cecb942f336a133a2e7c
+MISC ChangeLog-2015 2510 SHA256 595fe99e2aa1d79dd41ef0ad6bfe419ffca5f3a93a99a212643981d461e15a62 SHA512 1daf65013386f970e713c51a737ca862352fb8d6a12dce60edd15aba10c9c9e67d9531b6583907c805b0b58a4f2c7b8938b6adf8aaea111d0a00b20e116f9528 WHIRLPOOL e0825820b32db39edd8183964dd96b160fafc64a0fbd1e014b8b76c0a4fcb9566baf5dc923b8f3e3a40b1688c2387abfe926388980a4f2abead942fe446721b8
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch
new file mode 100644
index 000000000000..a49a29c30fb5
--- /dev/null
+++ b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2012-11-20 12:38:41.528871594 +0400
++++ Makefile 2012-11-20 12:39:42.630871103 +0400
+@@ -14,7 +14,7 @@
+ all: spicctrl
+
+ spicctrl: $(OBJ)
+- $(CC) -o spicctrl $(OBJ) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o spicctrl $(OBJ) $(LIBS)
+
+ clean:
+ rm -f $(OBJ) spicctrl *~
diff --git a/app-laptop/spicctrl/metadata.xml b/app-laptop/spicctrl/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-laptop/spicctrl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild
new file mode 100644
index 000000000000..d1aceef29615
--- /dev/null
+++ b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit base toolchain-funcs
+
+DESCRIPTION="tool for the sonypi-Device (found in Sony Vaio Notebooks)"
+HOMEPAGE="http://www.popies.net/sonypi/"
+SRC_URI="http://www.popies.net/sonypi/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin spicctrl
+}