create core package
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "db-%s/build_unix" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
pisitools.ldflags.add("-Wl,--default-symver -lpthread")
|
||||
shelltools.system("../dist/configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--datadir=/usr/share \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var/lib \
|
||||
--libdir=/usr/lib \
|
||||
--enable-compat185 \
|
||||
--with-uniquename \
|
||||
--enable-cxx \
|
||||
--enable-dbm \
|
||||
--disable-tcl \
|
||||
--disable-java \
|
||||
--disable-static \
|
||||
--disable-test")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install('libdir="%s/usr/lib"' % get.installDIR())
|
||||
|
||||
# Move docs
|
||||
pisitools.domove("/usr/docs/", "/usr/share/doc/%s/html/" % get.srcNAME())
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>db</Name>
|
||||
<Homepage>http://www.oracle.com/technology/products/berkeley-db/db/index.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>DB</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Oracle Berkeley DB</Summary>
|
||||
<Description>The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides embedded database support for both traditional and client/server applications. The Berkeley DB includes B+tree, Extended Linear Hashing, Fixed and Variable-length record access methods, transactions, locking, logging, shared memory caching, and database recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is used by many applications, including Python and Perl, so this should be installed on all systems.</Description>
|
||||
<Archive sha1sum="fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9" type="targz">http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>db</Name>
|
||||
<Replaces>
|
||||
<Package>db5</Package>
|
||||
</Replaces>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>db-devel</Name>
|
||||
<Replaces>
|
||||
<Package>db5-devel</Package>
|
||||
</Replaces>
|
||||
<Summary>Development files for db</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">db</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>db-docs</Name>
|
||||
<PartOf>system.doc</PartOf>
|
||||
<Replaces>
|
||||
<Package>db5-docs</Package>
|
||||
</Replaces>
|
||||
<Summary>Documentation for db</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">db</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2014-09-10</Date>
|
||||
<Version>5.3.28</Version>
|
||||
<Comment>
|
||||
Rebuild for component change.
|
||||
Perl depends on db, so we need it in system.base.
|
||||
</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-07-15</Date>
|
||||
<Version>5.3.28</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>5.3.28</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-29</Date>
|
||||
<Version>5.3.21</Version>
|
||||
<Comment>Rename and clean db pack.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>5.3.21</Version>
|
||||
<Comment>Fix dep, release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-31</Date>
|
||||
<Version>5.3.21</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>db</Name>
|
||||
<Summary xml:lang="tr">Oracle Berkeley DB</Summary>
|
||||
<Summary xml:lang="fr">Quatrième version de Berkeley DB</Summary>
|
||||
<Summary xml:lang="de">Ein einbettbares Datenbank Engine, dass die Entwickler mit schnellen, zuverlässigen und lokalen Persistenz unterstützt und null Administration erfordert.</Summary>
|
||||
<Description xml:lang="tr">Berkeley DB geliştiricilere yerel süreklilik sağlayan ve herhangi bir ayar gerektirmeden (zero administration) kullanılan, hızlı ve gömülebilir bir veritabanı motorudur.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user