libsrtp-2.6.0
This commit is contained in:
@@ -1,28 +1,24 @@
|
||||
#!/usr/bin/env python
|
||||
#!/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
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.cflags.add("-fPIC")
|
||||
#autotools.autoreconf("-fiv")
|
||||
autotools.configure("--enable-openssl \
|
||||
--enable-nss")
|
||||
autotools.configure("--prefix=/usr --enable-nss --enable-openssl")
|
||||
|
||||
def build():
|
||||
autotools.make("all")
|
||||
autotools.make("shared_library")
|
||||
|
||||
|
||||
def check():
|
||||
autotools.make("test")
|
||||
autotools.make("runtest")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("LICENSE", "CHANGES", "README*")
|
||||
pisitools.dodoc("LICENSE")
|
||||
|
||||
Reference in New Issue
Block a user