libtxc-dxtn add repo

This commit is contained in:
bferturk
2016-06-21 00:10:54 +03:00
parent 00cd9c351e
commit 6dffb8deda
2 changed files with 81 additions and 0 deletions
+22
View File
@@ -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")
+59
View File
@@ -0,0 +1,59 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libtxc-dxtn</Name>
<Homepage>http://dri.freedesktop.org/wiki/S3TC</Homepage>
<Packager>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Packager>
<License>custom</License>
<License>BSD</License>
<Summary>Texture compression library for Mesa</Summary>
<Description>S2TC is a patent-free S3TC compatible implementation and provides texture compression to Mesa.</Description>
<BuildDependencies>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="b5c3b274b962380ef8ab91c0017ea8320103034e" type="tarbz2">http://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.1.tar.bz2</Archive>
</Source>
<Package>
<Name>libtxc-dxtn</Name>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libtxc-dxtn-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libtxc-dxtn</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="headers">/usr/include</Path>
</Files>
</Package>
<Package>
<Name>libtxc-dxtn-32bit</Name>
<BuildType>emul32</BuildType>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-20</Date>
<Version>1.0.1</Version>
<Comment>First release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>