From a6826f9e83f91f5799d61c38e43518423b921904 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Sun, 18 Jun 2006 13:59:30 +0000 Subject: [PATCH] Initial commit; thanks to all contributors in Bug #89257. Package-Manager: portage-2.1.1_pre1 --- dev-libs/legousbtower/ChangeLog | 10 ++++ dev-libs/legousbtower/Manifest | 20 ++++++++ dev-libs/legousbtower/files/20-lego.rules | 1 + .../files/digest-legousbtower-0.5.4 | 3 ++ .../legousbtower/legousbtower-0.5.4.ebuild | 47 +++++++++++++++++++ dev-libs/legousbtower/metadata.xml | 8 ++++ 6 files changed, 89 insertions(+) create mode 100644 dev-libs/legousbtower/ChangeLog create mode 100644 dev-libs/legousbtower/Manifest create mode 100644 dev-libs/legousbtower/files/20-lego.rules create mode 100644 dev-libs/legousbtower/files/digest-legousbtower-0.5.4 create mode 100644 dev-libs/legousbtower/legousbtower-0.5.4.ebuild create mode 100644 dev-libs/legousbtower/metadata.xml diff --git a/dev-libs/legousbtower/ChangeLog b/dev-libs/legousbtower/ChangeLog new file mode 100644 index 000000000000..f49e1fcaf6b4 --- /dev/null +++ b/dev-libs/legousbtower/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/legousbtower +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/legousbtower/ChangeLog,v 1.1 2006/06/18 13:59:30 pylon Exp $ + +*legousbtower-0.5.4 (18 Jun 2006) + + 18 Jun 2006; Lars Weiler +files/20-lego.rules, + +metadata.xml, +legousbtower-0.5.4.ebuild: + Initial commit; thanks to all contributors in Bug #89257. + diff --git a/dev-libs/legousbtower/Manifest b/dev-libs/legousbtower/Manifest new file mode 100644 index 000000000000..7a24df03c007 --- /dev/null +++ b/dev-libs/legousbtower/Manifest @@ -0,0 +1,20 @@ +AUX 20-lego.rules 83 RMD160 d99c667722cdbda0b32d9252da85a471939554ca SHA1 518faa4b7ca3dc6ad764d64bc58cc5d20cafe866 SHA256 2897c968ea6e008dc9b829c6f209e776aeb3a96e1add05002f0770421f517691 +MD5 ca3e8fa4c8447bbc84f3a57787415ba5 files/20-lego.rules 83 +RMD160 d99c667722cdbda0b32d9252da85a471939554ca files/20-lego.rules 83 +SHA256 2897c968ea6e008dc9b829c6f209e776aeb3a96e1add05002f0770421f517691 files/20-lego.rules 83 +DIST legousbtower-0.5.4.tar.gz 22782 RMD160 3bf659a1fb065c17e02338ae52a7d5f732eda799 SHA256 8f61267ab2036d1936fe70f49b454a23e151021bbcd7d4ed1663810bdee7f8bb +EBUILD legousbtower-0.5.4.ebuild 1175 RMD160 974615332e86494687ebbd337354066b16590d44 SHA1 da00a67f2bf918f658c69c5ed518943264019353 SHA256 c12d6c28b45c49bc02e9c77a0f445fc5557e1fc1e39b2fe5e2f8b623b24b9363 +MD5 ac6ad2c439ecbe0c1118eee6ad59bf50 legousbtower-0.5.4.ebuild 1175 +RMD160 974615332e86494687ebbd337354066b16590d44 legousbtower-0.5.4.ebuild 1175 +SHA256 c12d6c28b45c49bc02e9c77a0f445fc5557e1fc1e39b2fe5e2f8b623b24b9363 legousbtower-0.5.4.ebuild 1175 +MISC ChangeLog 423 RMD160 65326d64dc22e970365c38e5eedc2db7324c09bd SHA1 a612b9935249a61a9a1b25e3dfa664c845f70360 SHA256 0477db9501ce0c7bc84543d2670db7744649e8e20b94b176013057e2d2e16a4e +MD5 97f838acef61925d3b8d00a16897c933 ChangeLog 423 +RMD160 65326d64dc22e970365c38e5eedc2db7324c09bd ChangeLog 423 +SHA256 0477db9501ce0c7bc84543d2670db7744649e8e20b94b176013057e2d2e16a4e ChangeLog 423 +MISC metadata.xml 221 RMD160 1b2f671f76e6f5633ecad58b5d2468c6560b99f9 SHA1 b630d69fb363782b8163d50b777beaae36a13067 SHA256 9df9acfdf2e8203b8e0559e8b74ddf9d7b4c5693978c9aedc6ccff32c71cead2 +MD5 035613e4ea415232c9b9fea9783994ce metadata.xml 221 +RMD160 1b2f671f76e6f5633ecad58b5d2468c6560b99f9 metadata.xml 221 +SHA256 9df9acfdf2e8203b8e0559e8b74ddf9d7b4c5693978c9aedc6ccff32c71cead2 metadata.xml 221 +MD5 9ae30bcecfb0e084bfaadea4f211231c files/digest-legousbtower-0.5.4 253 +RMD160 ca424beed361a450db41893ca158e022bdcb7686 files/digest-legousbtower-0.5.4 253 +SHA256 070041b2d93b3d460930d841d14d97edd98600993a22888ba20ed8e89b8c85ab files/digest-legousbtower-0.5.4 253 diff --git a/dev-libs/legousbtower/files/20-lego.rules b/dev-libs/legousbtower/files/20-lego.rules new file mode 100644 index 000000000000..ddd5470b9315 --- /dev/null +++ b/dev-libs/legousbtower/files/20-lego.rules @@ -0,0 +1 @@ +SYSFS{product}=="LEGO USB Tower", NAME="usb/%k", SYMLINK="usb/lego%n", GROUP="usb" diff --git a/dev-libs/legousbtower/files/digest-legousbtower-0.5.4 b/dev-libs/legousbtower/files/digest-legousbtower-0.5.4 new file mode 100644 index 000000000000..b1c91399c02d --- /dev/null +++ b/dev-libs/legousbtower/files/digest-legousbtower-0.5.4 @@ -0,0 +1,3 @@ +MD5 dddd913cf4a29f58850f8bb79664d5ec legousbtower-0.5.4.tar.gz 22782 +RMD160 3bf659a1fb065c17e02338ae52a7d5f732eda799 legousbtower-0.5.4.tar.gz 22782 +SHA256 8f61267ab2036d1936fe70f49b454a23e151021bbcd7d4ed1663810bdee7f8bb legousbtower-0.5.4.tar.gz 22782 diff --git a/dev-libs/legousbtower/legousbtower-0.5.4.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4.ebuild new file mode 100644 index 000000000000..70dd1cc3a232 --- /dev/null +++ b/dev-libs/legousbtower/legousbtower-0.5.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/legousbtower/legousbtower-0.5.4.ebuild,v 1.1 2006/06/18 13:59:30 pylon Exp $ + +inherit linux-mod + +DESCRIPTION="The lego mindstorms usb tower headers and/or modules" +SRC_URI="mirror://sourceforge/legousb/${P}.tar.gz" +HOMEPAGE="http://legousb.sourceforge.net/" + +SLOT="0" +LICENSE="MPL-1.0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="virtual/libc" + +src_compile() +{ + if [ ${KV_MINOR} -eq 4 ] ; then + econf || die "Configuration failed" + emake || die "Compilation failed" + fi +} + +src_install() { + if [ ${KV_MINOR} -eq 4 ] ; then + einstall || die "Make Install Failed" + else + insinto /usr/include/LegoUSB + doins include/legousbtower.h + insinto /etc/udev/rules.d + doins ${FILESDIR}/20-lego.rules + fi + dodoc README +} + +pkg_postinst() { + if [ ${KV_MINOR} -eq 4 ] ; then + einfo "You are using the 2.4 kernel series." + einfo "These are unsupported." + else + einfo "You are using the 2.6 kernel series." + einfo "This package only provides the header file." + einfo "You need to enable the lego usb tower option in the kernel." + fi +} diff --git a/dev-libs/legousbtower/metadata.xml b/dev-libs/legousbtower/metadata.xml new file mode 100644 index 000000000000..66e0c3df3934 --- /dev/null +++ b/dev-libs/legousbtower/metadata.xml @@ -0,0 +1,8 @@ + + + +no-herd + + pylon@gentoo.org + + -- 2.26.2