1
0
Fork 0

dev-embedded/sunxi-tools: New package

The version in ::gentoo is somewhat out of date.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2022-01-02 00:39:55 -08:00
parent fa5f5282bc
commit 4379243699
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,4 @@
DIST v1.4.2.tar.gz 84090 BLAKE2B b3261855eb9a18025c19829e343e3e2e7097dc4e267a60fdcf39cd2e9bfa57580267a77846a576ea5fc04a07fd6ba90b1223a8c644c933879dc7aa766ba36210 SHA512 633bc1752ae11799ce0bae347b52296792d28265a2260e173727847e1f457b767e88d02ae547bb55a2bb05e1eb552ba4406985ae105a1712a9fa30852ae293e8
EBUILD sunxi-tools-1.4.2.ebuild 727 BLAKE2B 00ef708197d6458934f1cffc8487640db3248ab17590d0b7938425a816e7241cd66cb25a37eb7c3284cd9ed52831094fc60d09e2e3ab510155fd0d3904e1c62c SHA512 ea429ca83a63cbf6c628406462b3d7d1fcaa9cd262794d96eb47d359f85e8c711e9f4b7615bd1f2b994dfb93adc6ddf20a278f11e290499869c622917e14b2c8
EBUILD sunxi-tools-9999.ebuild 727 BLAKE2B 00ef708197d6458934f1cffc8487640db3248ab17590d0b7938425a816e7241cd66cb25a37eb7c3284cd9ed52831094fc60d09e2e3ab510155fd0d3904e1c62c SHA512 ea429ca83a63cbf6c628406462b3d7d1fcaa9cd262794d96eb47d359f85e8c711e9f4b7615bd1f2b994dfb93adc6ddf20a278f11e290499869c622917e14b2c8
MISC metadata.xml 403 BLAKE2B 4b65ee6cdf4404bbfe4e9a90a96df7b36490e3c30c63d2be8bfef39d41dba1b0786867db633b10b2afaca206437d3d5b4ac3028c3292b9850842e7189a7ce4e9 SHA512 2f2506c6f6b8e10363873638bbef2eeb54918021c55279b8967aaaafe1623359eb3ed73570cabdcac6af6557e28cffba38c5fa0f45959a3c94675faf081a3d4c

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<use>
<flag name="extra">Build and install extra tools</flag>
</use>
<upstream>
<remote-id type="github">linux-sunxi/sunxi-tools</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools.git"
else
SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Tools for Allwinner A10 devices"
HOMEPAGE="http://linux-sunxi.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="+extra"
DEPEND="
virtual/libusb:1
sys-libs/zlib
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
emake tools
use extra && emake misc
}
src_install() {
emake install-tools DESTDIR="${D}" PREFIX="/usr"
use extra && emake install-misc DESTDIR="${D}" PREFIX="/usr"
}

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools.git"
else
SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Tools for Allwinner A10 devices"
HOMEPAGE="http://linux-sunxi.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="+extra"
DEPEND="
virtual/libusb:1
sys-libs/zlib
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
emake tools
use extra && emake misc
}
src_install() {
emake install-tools DESTDIR="${D}" PREFIX="/usr"
use extra && emake install-misc DESTDIR="${D}" PREFIX="/usr"
}