You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1008 B
37 lines
1008 B
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r1.ebuild,v 1.3 2013/01/27 10:24:48 mgorny Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools-multilib
|
|
|
|
DESCRIPTION="Helper library for S3TC texture (de)compression"
|
|
HOMEPAGE="http://cgit.freedesktop.org/~mareko/libtxc_dxtn/"
|
|
SRC_URI="http://people.freedesktop.org/~cbrill/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="media-libs/mesa"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
RESTRICT="bindist"
|
|
|
|
src_install() {
|
|
autotools-multilib_src_install
|
|
|
|
# libtxc_dxtn is installed as a module (plugin)
|
|
prune_libtool_files --all
|
|
}
|
|
|
|
pkg_postinst() {
|
|
ewarn "Depending on where you live, you might need a valid license for s3tc"
|
|
ewarn "in order to be legally allowed to use the external library."
|
|
ewarn "Redistribution in binary form might also be problematic."
|
|
ewarn
|
|
ewarn "You have been warned. Have a nice day."
|
|
}
|