12345678910111213141516171819202122232425262728293031 |
- #!/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 get
- def setup():
- autotools.autoreconf("-vif")
- autotools.configure("--disable-static \
- --without-docdir")
- #FIXME: documentation is temporarily disabled since update release 7.
- #--with-documentation=/usr/share/doc/%s" % get.srcNAME())
- pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
- def build():
- autotools.make()
- #def check():
- #autotools.make("check")
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- #pisitools.remove("/usr/share/doc/libupnp/IXML_Programming_Guide.pdf")
- #pisitools.remove("/usr/share/doc/libupnp/UPnP_Programming_Guide.pdf")
|