libnut:moved into main for pisi 2.0

This commit is contained in:
2015-07-22 17:01:36 +03:00
parent 7940e2f9e4
commit 22e0528a5b
4 changed files with 121 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.
#
# nut is done with checkouts from
# svn://svn.mplayerhq.hu/nut/src/trunk
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())
autotools.make("-j1 CC=%s" % get.CC())
def install():
autotools.rawInstall("PREFIX=%s/usr" % get.installDIR())
pisitools.dodoc("COPYING", "README*")