gfxboot and pisilinux themes in main

This commit is contained in:
Ertuğrul Erata
2015-08-05 15:20:42 +03:00
parent 5ea757b7a3
commit 52962c4872
9 changed files with 272 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.dosed("Makefile", "^CC.*", "CC = %s" % get.CC())
#pisitools.dosed("doc/Makefile", "xmlto", "xmlto --skip-validation")
pisitools.dosed("gfxboot-font.c", "#include <freetype/ftsynth.h>", "#include <freetype2/ftsynth.h>")
def build():
autotools.make()
autotools.make("-j1 doc")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.make('DESTDIR="%s" installsrc' % get.installDIR())
pisitools.dodoc("doc/*.txt", "doc/*.html")