diff options
Diffstat (limited to 'sys-libs/tdb/tdb-1.2.0-r1.ebuild')
-rw-r--r-- | sys-libs/tdb/tdb-1.2.0-r1.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/sys-libs/tdb/tdb-1.2.0-r1.ebuild b/sys-libs/tdb/tdb-1.2.0-r1.ebuild deleted file mode 100644 index b870c66..0000000 --- a/sys-libs/tdb/tdb-1.2.0-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.0-r1.ebuild,v 1.1 2010/01/11 20:43:02 flameeyes Exp $ - -EAPI="2" - -inherit confutils eutils autotools - -DESCRIPTION="Samba tdb" -HOMEPAGE="http://tdb.samba.org/" -SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" -LICENSE="GPL-3" -IUSE="python tools tdbtest" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -DEPEND="!<net-fs/samba-3.3 - !<net-fs/samba-libs-3.4 - " -RDEPEND="${DEPEND}" - -BINPROGS="bin/tdbdump bin/tdbtool bin/tdbbackup" - -src_prepare() { - eautoconf -Ilibreplace - sed -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' -i Makefile.in || die "sed failed" -} - -src_configure() { - - econf \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - $(use_enable python) \ - || die "econf failed" - -} - -src_compile() { - - emake dirs || die "emake dirs failed" - emake showflags || die "emake showflags failed" - emake shared-build || die "emake shared-build failed" - if use tools ; then emake ${BINPROGS} || die "emake binaries failed"; fi - if use python ; then emake build-python || die "emake build-python failed"; fi - if use tdbtest ; then make bin/tdbtest || die "emake tdbtest failed"; fi - -} - -src_install() { - - dolib.a sharedbuild/lib/libtdb.a || die - # you need to install all the files, not just the .so one - dolib.so sharedbuild/lib/libtdb.so* || die - - if use python || use tools ; then - emake install DESTDIR="${D}" || die "emake install failed" - fi - - if ! use tools ; then - for prog in ${BINPROGS} ; do - rm -f "${D}/usr/${prog}" - done - fi - - if use tdbtest ; then - dobin bin/tdbtest || die - fi - -} |