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")