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
+10 -6
View File
@@ -10,15 +10,19 @@ from pisi.actionsapi import get
def setup():
shelltools.export("CFLAGS","%s -fPIC -DPIC" % get.CFLAGS())
shelltools.export("LDFLAGS","%s -fPIC" % get.LDFLAGS())
shelltools.system("./configure --prefix=/usr --sysconfdir=/etc")
##shelltools.export("CFLAGS","%s -fPIC -DPIC" % get.CFLAGS())
#shelltools.export("LDFLAGS","%s -fPIC" % get.LDFLAGS())
shelltools.system("./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-lib-shared \
--enable-gettext \
--disable-openssl-runtime \
--enable-openssl")
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.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "INSTALL*", "README", "COPYING")
+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>
<BuildDependencies>
<Dependency>glibc</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
</Source>
@@ -24,6 +25,7 @@
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin/</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc/</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
@@ -44,7 +46,7 @@
<Update release="1">
<Date>2018-04-21</Date>
<Version>1.3.6</Version>
<Comment>Release Bump</Comment>
<Comment>Release Bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>