# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P=${P/-0.0.1_pre/} DESCRIPTION="external library to compress/decompress s3tc textures" HOMEPAGE="http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html" SRC_URI="mirror://gentoo/${MY_P}.tar.gz http://homepage.hispeed.ch/rscheidegger/dri_experimental/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR}/libtxc_dxtn DEPEND=">=sys-libs/glibc-2.3.4.20040808" src_compile() { emake || die } src_install() { mv ${S}/libtxc_dxtn.so ${S}/libtxc_dxtn.so.0.0.1 dolib.so libtxc_dxtn.so.0.0.1 dosym libtxc_dxtn.so.0.0.1 /usr/lib/libtxc_dxtn.so.0 dosym libtxc_dxtn.so.0 /usr/lib/libtxc_dxtn.so } pkg_postinst() { einfo "\"IP\" issues" einfo "" einfo "\"Depending on where you live, you might need a valid license" einfo "for s3tc in order to be legally allowed to use the patch" einfo "and/or the external library. Redistribution in binary form" einfo "might also be problematic (I certainly don't impose any" einfo "restrictions on redistribution, the code itself is all BSD" einfo "licensed). Ask your lawyer, the patent is supposedly held by" einfo "VIA. It is your responsibility to make sure you comply with" einfo "the laws of your country, not mine!\"" einfo "" einfo "source:" einfo "http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html" einfo "" einfo "DO NOT CONTACT the libtxc_dxtn author with support questions" }