summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lirc/Manifest2
-rw-r--r--app-misc/lirc/lirc-0.8.6-r4.ebuild38
2 files changed, 21 insertions, 19 deletions
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index f061d3f..394deff 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -42,6 +42,6 @@ AUX modprobed.lirc 549 RMD160 89edfd587932959df9e521d146cef7c67cf97b18 SHA1 f59d
AUX modulesd.lirc 482 RMD160 0c7ec9881b337529acaf15eb4bf7a66a8623fc6c SHA1 8415e466cad31278496bafa817ccabbb72c56ce4 SHA256 3906b61951e1245cb3c9b16e81255a735f7bcdbbfcbedcdf44cd53236e2a3f28
AUX xbox-lircd.conf 784 RMD160 844b08d504f5afb996f900d3d225cc855fbf4884 SHA1 65c3b9c295bc8ab8f80077dd3a40b599d1a60ce3 SHA256 03979bd658ed4a5705c358a1278b1565dd10463ab6eb14fa8d25b3d98e645008
DIST lirc-0.8.6.tar.bz2 730341 RMD160 c4301b1ac966be48c856b606ae0fedd366cb608d SHA1 199aad7381e785945e4634f9a002e5ac35bf8930 SHA256 0a82e73b1bbf1712cff9d757739f9a2083be246d1b1d071f8808b5e6cca4d1a1
-EBUILD lirc-0.8.6-r4.ebuild 10355 RMD160 a7a9001b1573e37a98b8a36bc8b25c8889ed5f94 SHA1 0c59fb67cb97ededf796da05e1d1ef7e938c5536 SHA256 be318b7c7d656c6b109cc8c4185b4a202da7d928155565022e48376e43510d4e
+EBUILD lirc-0.8.6-r4.ebuild 10424 RMD160 93768eacf9b804e2689a375e6ce6f86c36c4854b SHA1 c2c7c135a8acce68f62cdfb632e1fd2fb4a8040f SHA256 e7a9ec0a412e760cf098eae20719b26705272998a7cfc4b3d490b30627bf1e3d
MISC ChangeLog 36755 RMD160 200776d575cd0970210bd42c550c1438cbd787f1 SHA1 31201482af914bf7c21e23d19ea44c4153ec8fb3 SHA256 0bca3ac17af35bbc3beff0657c2b05abc38ca8359fed8e0d596cde4b837e2015
MISC metadata.xml 376 RMD160 7b854dad1999c38592eabe928aab80615ba1f1e5 SHA1 17dc9c9591c77aa4ec2d98b9bc1f34ff68da31ad SHA256 e3b4637a67a93eb4b9457fa5941e8a6a891adca11a1ebc80c21a59650eac93aa
diff --git a/app-misc/lirc/lirc-0.8.6-r4.ebuild b/app-misc/lirc/lirc-0.8.6-r4.ebuild
index 9a5c480..a25fe35 100644
--- a/app-misc/lirc/lirc-0.8.6-r4.ebuild
+++ b/app-misc/lirc/lirc-0.8.6-r4.ebuild
@@ -354,23 +354,25 @@ pkg_postinst() {
fi
fi
- # wb677 specific
- cp "${FILESDIR}"/lircd.conf.wb677 "${ROOT}"/etc/lirc/lircd.conf
- cp "${FILESDIR}"/lircrc_nuvoton "${ROOT}"/etc/lirc/lircrc
- cp -R "${WORKDIR}" /usr/src/
-
- # compile
- emake -C "${FILESDIR}"/lirc_wb677/
- emake -C "${FILESDIR}"/lirc_wb677/ install
-
- ewarn
- ewarn "This ebuild is meant to be used only for remote controller wb677"
- ewarn "shipped with ION 330"
- ewarn
- ewarn "To start:"
- ewarn
- ewarn "modprobe lirc_wb677"
- ewarn "/etc/init.d/lirc start"
- ewarn
+ if use wb677
+ then
+ cp "${FILESDIR}"/lircd.conf.wb677 "${ROOT}"/etc/lirc/lircd.conf
+ cp "${FILESDIR}"/lircrc_nuvoton "${ROOT}"/etc/lirc/lircrc
+ cp -R "${WORKDIR}" /usr/src/
+
+ # compile
+ emake -C "${FILESDIR}"/lirc_wb677/ || die "failed compile"
+ emake -C "${FILESDIR}"/lirc_wb677/ install || die "failed install"
+
+ ewarn
+ ewarn "This ebuild is meant to be used only for remote controller wb677"
+ ewarn "shipped with ION 330"
+ ewarn
+ ewarn "To start:"
+ ewarn
+ ewarn "modprobe lirc_wb677"
+ ewarn "/etc/init.d/lirc start"
+ ewarn
+ fi
}