Merge pull request #1512 from ertugerata/master

for fix build
This commit is contained in:
Ertuğrul Erata
2016-04-01 20:26:52 +03:00
2 changed files with 8 additions and 7 deletions
+5 -5
View File
@@ -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")
+3 -2
View File
@@ -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>