diff --git a/x11/library/libtxc-dxtn/actions.py b/x11/library/libtxc-dxtn/actions.py new file mode 100644 index 0000000000..f82a91245d --- /dev/null +++ b/x11/library/libtxc-dxtn/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.system("sed -n '5,22{s|^ \* \?||;p}' txc_dxtn.h > LICENSE") + pisitools.dodoc("LICENSE") diff --git a/x11/library/libtxc-dxtn/pspec.xml b/x11/library/libtxc-dxtn/pspec.xml new file mode 100644 index 0000000000..aeacdcdc92 --- /dev/null +++ b/x11/library/libtxc-dxtn/pspec.xml @@ -0,0 +1,59 @@ + + + + + libtxc-dxtn + http://dri.freedesktop.org/wiki/S3TC + + Marcin Bojara + marcin@pisilinux.org + + custom + BSD + Texture compression library for Mesa + S2TC is a patent-free S3TC compatible implementation and provides texture compression to Mesa. + + mesa-devel + + http://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.1.tar.bz2 + + + libtxc-dxtn + + + + /usr/lib + /usr/share/doc + + + + + libtxc-dxtn-devel + + libtxc-dxtn + + + /usr/include + + + + + libtxc-dxtn-32bit + emul32 + + + + /usr/lib32 + + + + + + 2016-06-20 + 1.0.1 + First release. + Marcin Bojara + marcin@pisilinux.org + + +