@@ -12,23 +12,23 @@ from pisi.actionsapi import get
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fPIC -fno-strict-aliasing -fPIE -DPIE " % get.CFLAGS())
|
||||
shelltools.export("LDFLAGS", "%s -pie -Wl,-z,now" % get.LDFLAGS())
|
||||
|
||||
|
||||
autotools.autoreconf("-fi")
|
||||
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
--localstatedir=/var \
|
||||
--enable-slpv1 \
|
||||
--enable-slpv2-security")
|
||||
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make("all docs")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
|
||||
pisitools.dohtml("doc/doc/html/*")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "ChangeLog", "NEWS", "README", "THANKS")
|
||||
|
||||
@@ -18,14 +18,15 @@
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
</BuildDependencies>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openslp</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>openssl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/slp.conf</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
|
||||
Reference in New Issue
Block a user