snappy 1.1.7
This commit is contained in:
@@ -7,24 +7,28 @@
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.flags.remove("-DNDEBUG")
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-shared")
|
||||
#shelltools.system("./autogen.sh")
|
||||
#autotools.configure("--prefix=/usr \
|
||||
#--disable-static \
|
||||
#--enable-shared")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
cmaketools.configure("-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
cmaketools.make()
|
||||
|
||||
def build():
|
||||
autotools.make("check")
|
||||
def check():
|
||||
cmaketools.make("test")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README", "COPYING", "ChangeLog", "NEWS", "AUTHORS")
|
||||
pisitools.dodoc("README.md", "COPYING", "AUTHORS")
|
||||
@@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: snappy
|
||||
Description: A fast compression/decompression library
|
||||
Version: 1.1.7
|
||||
Libs: -L${libdir} -lsnappy
|
||||
Cflags: -I${includedir}
|
||||
@@ -15,10 +15,11 @@
|
||||
<BuildDependencies>
|
||||
<Dependency>lzo-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="63f7a3d2c865a6a39aca9bc5d3412a8b2d607bb4" type="targz">https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz</Archive>
|
||||
<Archive sha1sum="1ec676b842fc96fd8a95b03c12758935e7f257b0" type="targz">https://github.com/google/snappy/archive/1.1.7.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">snappy-unittest.patch</Patch>
|
||||
<!-- <Patch level="1">snappy-unittest.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
@@ -37,11 +38,22 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">snappy</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/pkgconfig/snappy.pc">snappy.pc</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2019-12-27</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-07-15</Date>
|
||||
<Version>1.1.3</Version>
|
||||
|
||||
Reference in New Issue
Block a user