30 lines
915 B
Python
30 lines
915 B
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 get
|
|
from pisi.actionsapi import cmaketools
|
|
|
|
def setup():
|
|
# --shared and --release are default parameters, however we just write them
|
|
# to down to avoid confusing wheter it's a static/shared or release/debug
|
|
# package at the first look :)
|
|
cmaketools.configure()
|
|
|
|
def build():
|
|
cmaketools.make()
|
|
|
|
def install():
|
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
|
|
pisitools.doman("doc/doxygen.1")
|
|
|
|
# The makefile included is there to generate the html files
|
|
# The user itself should execute it
|
|
pisitools.insinto(get.docDIR() + "/doxygen" , "examples")
|
|
|
|
pisitools.dodoc("LANGUAGE.HOWTO", "LICENSE", "README*", "VERSION")
|