Files
main/programming/language/perl/perl-Net-DBus/actions.py
T
4fury-c3440d8 94d1b48a0e perl-Net-DBus
2023-01-08 04:26:41 +03:00

24 lines
556 B
Python

#!/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 perlmodules, pisitools, get
def setup():
perlmodules.configure()
pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$", "OTHERLDFLAGS = %s" % get.LDFLAGS())
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")
pisitools.dodoc("Changes")