Added ebuilds for samba 3.4.2/tdb/talloc

git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@11109 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
2009-10-08 14:28:49 +00:00
parent 8eb7a45eff
commit 66a0afca71
42 changed files with 1699 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
DIST tdb-1.1.5.tar.gz 254358 RMD160 d13f18e42d87161f7d48876c8d7957c54e889cf0 SHA1 1451cced3d333e24c67464249b4015f048770e40 SHA256 487f8fc773d1ac395d89d61781dbb7dffe0c5a3a816f33c95e381f9ea2a4a67a
EBUILD tdb-1.1.5.ebuild 1192 RMD160 63668a9b2dd347e14c28b814fdbd6ed0502ce6ca SHA1 6511f2cdf867a384692f54ca39166fe792693e59 SHA256 afb813a6681be351d91019b39c1775d036ecc894b980b8206a1ade3ea94aea14
+60
View File
@@ -0,0 +1,60 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
inherit confutils eutils
DESCRIPTION="tdb"
HOMEPAGE="http://tdb.samba.org/"
SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-3"
IUSE="python tools"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
BINPROGS="bin/tdbdump bin/tdbtool bin/tdbbackup"
PROVIDE="virtual/tdb"
BINPROGS="bin/tdbbackup bin/tdbdump bin/tdbtool"
src_prepare() {
./autogen.sh || die "autogen.sh failed"
}
src_configure() {
econf \
--sysconfdir=/etc/samba \
--localstatedir=/var \
--enable-largefile \
$(use_enable python) \
|| die "econf failed"
}
src_compile() {
emake showflags dirs || die "emake boot failed"
emake tdb.so || die "emake libs failed"
emake libtdb.a || die "emake libs failed"
emake ${BINPROGS} || die "emake binaries failed"
if use python ; then
emake build-python || die "emake build-python failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
emake DESTDIR="${D}" shared-build || die "emake shared-build failed"
dolib.so sharedbuild/lib/libtdb.so
dolib.a sharedbuild/lib/libtdb.a
}