rhash:rebuild

This commit is contained in:
Rmys
2018-04-22 17:00:47 +03:00
parent 070bff7267
commit fda8d899c3
2 changed files with 13 additions and 7 deletions
+9 -5
View File
@@ -10,13 +10,17 @@ from pisi.actionsapi import get
def setup(): def setup():
shelltools.export("CFLAGS","%s -fPIC -DPIC" % get.CFLAGS()) ##shelltools.export("CFLAGS","%s -fPIC -DPIC" % get.CFLAGS())
shelltools.export("LDFLAGS","%s -fPIC" % get.LDFLAGS()) #shelltools.export("LDFLAGS","%s -fPIC" % get.LDFLAGS())
shelltools.system("./configure --prefix=/usr --sysconfdir=/etc") shelltools.system("./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-lib-shared \
--enable-gettext \
--disable-openssl-runtime \
--enable-openssl")
def install(): def install():
autotools.make("PREFIX=/usr DESTDIR=%s build-shared install-lib-shared" % get.installDIR()) autotools.make("PREFIX=/usr DESTDIR=%s build-shared install-gmo install-lib-shared" % get.installDIR())
autotools.make("PREFIX=/usr DESTDIR=%s -C librhash install-so-link install-headers" % get.installDIR()) autotools.make("PREFIX=/usr DESTDIR=%s -C librhash install-so-link install-headers" % get.installDIR())
autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR()) autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
+3 -1
View File
@@ -15,6 +15,7 @@
<Archive sha1sum="62a89fcf39cc8e243d82a860e3ec53dab4e8af69" type="targz">https://github.com/rhash/RHash/archive/v1.3.6.tar.gz</Archive> <Archive sha1sum="62a89fcf39cc8e243d82a860e3ec53dab4e8af69" type="targz">https://github.com/rhash/RHash/archive/v1.3.6.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>glibc</Dependency> <Dependency>glibc</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -24,6 +25,7 @@
<Path fileType="config">/etc</Path> <Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin/</Path> <Path fileType="executable">/usr/bin/</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc/</Path> <Path fileType="doc">/usr/share/doc/</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
</Files> </Files>
@@ -44,7 +46,7 @@
<Update release="1"> <Update release="1">
<Date>2018-04-21</Date> <Date>2018-04-21</Date>
<Version>1.3.6</Version> <Version>1.3.6</Version>
<Comment>Release Bump</Comment> <Comment>Release Bump.</Comment>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email> <Email>admin@pisilinux.org</Email>
</Update> </Update>