library for sound and video

This commit is contained in:
Ertuğrul Erata
2015-08-20 10:54:01 +03:00
parent 1e68a863e6
commit 7ad53f61c2
23 changed files with 741 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())
shelltools.export("CXXFLAGS", "%s -fPIC" % get.CXXFLAGS())
autotools.configure()
def build():
autotools.make("PREFIX=/usr")
def install():
autotools.install("libdir=%s/usr/lib" % get.installDIR())
# No static libs
pisitools.remove("/usr/lib/*.a")
pisitools.dodoc("LICENSE.*")