dev-util/mfgtools: new package

This commit is contained in:
nemunaire 2018-12-24 16:40:49 +01:00
parent 4ad555f6c1
commit 08abe73583
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST mfgtools-1.2.31.tar.gz 50412 BLAKE2B 3e99073e1b260e3257efeadde9a9bc8c703c41912172894130348bcf2b18eabac9898cd26779581cf26204fc378ba87fa10706baac264235b6248953cf899789 SHA512 1a5e1c5628b28484b20194a618ab88c00a7440bf30370480977d64e5a1e5ee40aa56b4d915ff3e0c86bb6de9b82824173022b41245d448456422c42f03718f04
EBUILD mfgtools-1.2.31.ebuild 773 BLAKE2B b337a9f8d06006c75307971c5f24d193f3aada94f700a96dd3f0858ade94f5466096fc323820935aaeb973a858873870c5d7e6920f7fcd6b151e9b4121ce3580 SHA512 d21591a7dba299fdc484cfca2b4106d7166f1c1a63ba18a18af2fba3176ebec7cbaef77893b06c8a44b4919404a421c22f544c11fcd1d4237e931a68d745cefd

View File

@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/NXPmicro/mfgtools.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/NXPmicro/mfgtools/archive/uuu_${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm"
fi
inherit cmake-utils
DESCRIPTION="Freescale/NXP I.MX Chip image deploy tools"
HOMEPAGE="https://github.com/NXPmicro/mfgtools"
LICENSE="BSD-3"
SLOT="0"
IUSE=""
RDEPEND="
dev-libs/libzip
sys-libs/zlib
virtual/libusb
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
S="${WORKDIR}/${PN}-uuu_${PV}"
src_prepare() {
default
cmake-utils_src_prepare
echo "#define GIT_VERSION \"libuuu_${PV}\"" > "${S}/libuuu/gitversion.h"
}