mono, libgdiplus, gtk-sharp: new packages

This commit is contained in:
suvari
2022-07-12 22:00:23 +03:00
parent d1bb1d8162
commit 8c8c909943
16 changed files with 1790 additions and 105 deletions
@@ -0,0 +1,47 @@
#!/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
import glob
import os.path
shelltools.export("LC_ALL", "C")
def setup():
autotools.autoreconf("-fi")
autotools.configure("--disable-quiet-build \
--disable-system-aot \
--disable-static \
--with-mcs-docs=no")
def build():
autotools.make()
shelltools.cd("mcs/jay")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("mcs/jay")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
# These work on Windows only
for i in glob.glob("%s/usr/lib/mono/*/Mono.Security.Win32*" % get.installDIR()):
x = i.split(get.installDIR())[-1]
if os.path.isdir(x):
pisitools.removeDir(x)
continue
pisitools.remove(x)
pisitools.dodoc("AUTHORS", "LICENSE")