media-libs/libtxc_dxtn: Clean up ebuild
authorMatt Turner <mattst88@gentoo.org>
Tue, 9 Oct 2018 16:06:02 +0000 (12:06 -0400)
committerMatt Turner <mattst88@gentoo.org>
Tue, 9 Oct 2018 16:09:04 +0000 (12:09 -0400)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r4.ebuild [new file with mode: 0644]

diff --git a/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r4.ebuild b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r4.ebuild
new file mode 100644 (file)
index 0000000..f520acc
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal
+
+DESCRIPTION="Helper library for        S3TC texture (de)compression"
+HOMEPAGE="https://cgit.freedesktop.org/~mareko/libtxc_dxtn/"
+SRC_URI="https://people.freedesktop.org/~cbrill/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+IUSE=""
+
+DEPEND="media-libs/mesa"
+RDEPEND=""
+
+multilib_src_configure() {
+       ECONF_SOURCE="${S}" econf
+}
+
+multilib_src_install_all() {
+       default
+
+       # libtxc_dxtn is installed as a module (plugin)
+       find "${D}" -name '*.la' -delete || die
+}