sys-kernel/xow: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Petrus Zhao <petrus.zy.07@gmail.com>
This commit is contained in:
Petrus Zhao
2020-05-25 23:41:15 +08:00
parent d4915634db
commit e9e6629c45
3 changed files with 37 additions and 0 deletions

1
sys-kernel/xow/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST xow-0.4.tar.gz 902531 BLAKE2B 6f4e0b77241021c8d38a6f52be3d2bb681e17f5e4e642df2fffec189e955c73fc45a2b8dfb1d66af125aa69781cd9770403b3552aa66d8d63befd4f3b34827b4 SHA512 bb601a09f9b33561ba9e9bbf6bbf867a19c0023d696c75301cee115a8548edc697ad61fea5f608927024a38e0f3573116f8350104d70bf488c06bec62c75fce9

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>silencly07@gmail.com</email>
<name>Petrus.Z</name>
</maintainer>
<upstream>
<remote-id type="github">medusalix/xow</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Linux driver for the Xbox One wireless dongle"
HOMEPAGE="https://github.com/medusalix/xow"
SRC_URI="https://github.com/medusalix/xow/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
emake BUILD=RELEASE
}
src_install() {
emake DESTDIR="${D}" PREFIX="" install
}