plank First release

This commit is contained in:
Rmys
2021-03-29 18:00:34 +03:00
committed by GitHub
parent d81830ba46
commit be6816381f
3 changed files with 131 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env 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.system("sed 's/0.19.6/0.20/' -i configure.ac")
shelltools.system("env NOCONFIGURE=1 ./autogen.sh")
autotools.configure("--disable-appor")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING*", "NEWS", "README")