sqlcipher and skrooge:first release

This commit is contained in:
alihanozturk
2016-03-30 11:10:53 +03:00
parent be6af9198e
commit 7767dbd04e
6 changed files with 314 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.export("CFLAGS", "%s -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2" % get.CFLAGS())
shelltools.export("LDFLAGS", "%s -lcrypto" % get.LDFLAGS())
autotools.configure("--prefix=/usr \
--enable-tempstore=yes \
--enable-readline \
--enable-threadsafe \
--enable-cross-thread-connections \
--enable-releasemode \
--disable-static \
--with-crypto-lib")
#for unused
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGELOG*", "README*", "VERSION", "LICENSE")
+62
View File
@@ -0,0 +1,62 @@
<PISI>
<Source>
<Name>sqlcipher</Name>
<Homepage>https://www.zetetic.net/sqlcipher/</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>data</IsA>
<Summary>SQLite extension that provides transparent 256-bit AES encryption of database files</Summary>
<Description>SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance its ideal for protecting embedded application databases and is well suited for mobile development.</Description>
<BuildDependencies>
<Dependency>readline-devel</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="a1104bf45b15b33ef316c24c108f6802b7501cc3" type="targz">https://github.com/sqlcipher/sqlcipher/archive/v3.3.1.tar.gz</Archive>
</Source>
<Package>
<Name>sqlcipher</Name>
<Summary>SQLite extension that provides transparent 256-bit AES encryption of database files.</Summary>
<RuntimeDependencies>
<Dependency>openssl</Dependency>
<Dependency>readline</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>tcl</Dependency>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/tcl8.6</Path>
<Path fileType="library">/usr/lib/lib*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>sqlcipher-devel</Name>
<Summary>Development files for sqlcipher.</Summary>
<RuntimeDependencies>
<Dependency release="current">sqlcipher</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-03-22</Date>
<Version>3.3.1</Version>
<Comment>First release.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>