25 lines
526 B
Python
25 lines
526 B
Python
#!/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 mesontools
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import get
|
|
|
|
examples = "%s/%s/" % (get.docDIR(), get.srcNAME())
|
|
|
|
def setup():
|
|
mesontools.configure()
|
|
|
|
def build():
|
|
mesontools.build()
|
|
|
|
def check():
|
|
mesontools.build("test")
|
|
|
|
def install():
|
|
mesontools.install()
|
|
pisitools.insinto(examples, "examples/*")
|