diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/legousbtower | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/legousbtower')
-rw-r--r-- | dev-libs/legousbtower/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/legousbtower/files/20-lego.rules | 1 | ||||
-rw-r--r-- | dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/legousbtower/metadata.xml | 8 |
4 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/legousbtower/Manifest b/dev-libs/legousbtower/Manifest new file mode 100644 index 000000000000..e07a7693eff6 --- /dev/null +++ b/dev-libs/legousbtower/Manifest @@ -0,0 +1,4 @@ +AUX 20-lego.rules 83 BLAKE2B ac95969960bb86f3b5e18d7c9c00b49e4ecb2fb850f1481ca290de12e76eb3b14d0b4ddf225f569c8a8005bbf5a557590a63d9c7fc1881e2e6884a30e75d91c9 SHA512 1e708d5c5d1169075c6ba626cfb362e473e4d026c8ced32f888eb6874637bf7d655917b08f15738cb53eb4be78f8c243c795293862d109683e895507f30dfc61 +DIST legousbtower-0.5.4.tar.gz 22782 BLAKE2B a77f1e2fbadc7b7ecc93ce1726d4dbc47048cdf9edb7627cc08a4fb571657b0e601f7cd9b7a8026892a596ffaf8c3c9d26e4074c7aef57a78964087e905e38de SHA512 169cf31d4585bf3b7bd9aded76d202bb14e285f644f8aa10a6f4bf6d99e6f28efc33c65922388cdfa17a1bfc0dbc777edc1fb45484155543a42117eaba6fb7e7 +EBUILD legousbtower-0.5.4-r1.ebuild 734 BLAKE2B 67d528bfea0082bc1f2f83062f1db75d12e891fa1a3a6d818951acf0534147d6f448dab3a94e18f46088ea833e673e71452302cea1a14f40427c50c1336ea94a SHA512 43b4d1e9cbc7b7989d1a93d8f4cf5ed25b08d00304dbc2d86f0f9cd8d4cb99898f78da3063418a05f96bd887ed43edf3bad57700b6746a52d42077fa5de7d633 +MISC metadata.xml 244 BLAKE2B 9eceb013695379bbfd076331cd25d5c86c334913652e1f634b1b9dea98d36fa9e9a70e40606f45dffc0c437b96c3213cc446f6d460839d9b87440bb1e984b7c6 SHA512 dd104cf292c56e0c1faced64aec00bd8668ee8925116d795a47b3e1fd88f5a743ec64111e4095b9afbaa2823c20bcb5100bf1ffb5d17e5a19389112249a835a6 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/legousbtower-0.5.4-r1.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild new file mode 100644 index 000000000000..51fdecaf027b --- /dev/null +++ b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit udev + +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="amd64 ppc x86" +IUSE="" + +src_configure() { :; } +src_compile() { :; } + +src_install() { + insinto /usr/include/LegoUSB + doins include/legousbtower.h + udev_dorules "${FILESDIR}"/20-lego.rules + dodoc README +} + +pkg_postinst() { + elog "This package only provides the header file." + elog "You need to enable the lego usb tower option in the kernel." + elog "The kernel 2.4 module is no longer built or supported" +} diff --git a/dev-libs/legousbtower/metadata.xml b/dev-libs/legousbtower/metadata.xml new file mode 100644 index 000000000000..9f152df2ec1a --- /dev/null +++ b/dev-libs/legousbtower/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">legousb</remote-id> + </upstream> +</pkgmetadata> |