From 05b8b0e0af1d72e51a3ee61522941bf7605cd01c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Jul 2020 14:05:23 +0100 Subject: gentoo resync : 04.07.2020 --- dev-libs/stb/stb-20200205.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-libs/stb/stb-20200205.ebuild (limited to 'dev-libs/stb/stb-20200205.ebuild') diff --git a/dev-libs/stb/stb-20200205.ebuild b/dev-libs/stb/stb-20200205.ebuild new file mode 100644 index 000000000000..78f6c462e4c5 --- /dev/null +++ b/dev-libs/stb/stb-20200205.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# There are no official releases +CHECKSUM="f54acd4e13430c5122cab4ca657705c84aa61b08" + +DESCRIPTION="single-file public domain (or MIT licensed) libraries for C/C++" +HOMEPAGE="https://github.com/nothings/stb" +SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( MIT Unlicense )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +S="${WORKDIR}/${PN}-${CHECKSUM}" + +BDEPEND="" +RDEPEND="" + +src_prepare() { + default + + # Move the header files in a folder so they don't pollute the include dir + mkdir stb || die + mv *.h stb/ || die +} + +src_install() { + doheader -r stb +} -- cgit v1.2.3