add game/misc/plib library

This commit is contained in:
erkanisik1
2020-06-22 13:44:53 +03:00
parent cb672b80a4
commit 1e0a932713
5 changed files with 402 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# 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.cxxflags.add("-fPIC")
autotools.autoreconf("-vif")
autotools.configure("--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "KNOWN_BUGS", "NOTICE", "README*", "TODO*", "NEWS")