create core package
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/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 pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def build():
|
||||
shelltools.chmod("build_detect_platform", 0755)
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
pisitools.dolib_so("libleveldb.so.1.17")
|
||||
pisitools.dosym("libleveldb.so.1.17", "/usr/lib/libleveldb.so.1")
|
||||
pisitools.dosym("libleveldb.so.1.17", "/usr/lib/libleveldb.so")
|
||||
|
||||
pisitools.insinto("/usr/include", "include/*")
|
||||
pisitools.insinto("/usr/include", "helpers/memenv/memenv.h")
|
||||
|
||||
pisitools.dodoc("README", "LICENSE", "NEWS", "AUTHORS")
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>leveldb</Name>
|
||||
<Homepage>https://code.google.com/p/leveldb</Homepage>
|
||||
<Packager>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A fast and lightweight key/value database library</Summary>
|
||||
<Description>LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>gperftools-devel</Dependency>
|
||||
<Dependency>snappy-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="5ab342abea35be281225bead169c1699828d1dde" type="targz">http://source.pisilinux.org/1.0/leveldb-e353fbc7ea81.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>leveldb</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>snappy</Dependency>
|
||||
<Dependency>gperftools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>leveldb-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">leveldb</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2014-06-02</Date>
|
||||
<Version>1.17</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,7 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>leveldb</Name>
|
||||
<Summary xml:lang="tr">Hızlı ve hafif bir anahtar/değer veri kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">LevelDB dize değerleri ile dize anahtarlarını eşleme sağlayan, Google'da yazılmış hızlı bir anahtar-değer depolama kütüphanesidir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user