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