forked from Pardus-Linux/Packages
-
Notifications
You must be signed in to change notification settings - Fork 9
/
actions.py
34 lines (28 loc) · 1.13 KB
/
actions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
shelltools.export("CFLAGS", "%s -fvisibility=hidden" % get.CFLAGS())
shelltools.export("LDFLAGS", "%s -fvisibility=hidden" % get.LDFLAGS())
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--enable-openssl \
--enable-cipher \
--enable-signature \
--disable-gnutls \
--disable-build-examples \
--disable-doc \
--disable-install-examples \
--disable-old-eet-file-format\
--disable-tests")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")