Torsten Kurbad
66a0afca71
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@11109 cbe59ace-07ea-0310-918e-868702b5370d
49 lines
845 B
Bash
49 lines
845 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="2"
|
|
|
|
inherit confutils eutils
|
|
|
|
DESCRIPTION="talloc"
|
|
HOMEPAGE="http://talloc.samba.org/"
|
|
SRC_URI="http://samba.org/ftp/talloc/${P}.tar.gz"
|
|
RESTRICT="nomirror"
|
|
LICENSE="GPL-3"
|
|
IUSE=""
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
|
|
|
|
PROVIDE="virtual/talloc"
|
|
|
|
src_prepare() {
|
|
|
|
./autogen.sh || die "autogen.sh failed"
|
|
|
|
}
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
--sysconfdir=/etc/samba \
|
|
--localstatedir=/var \
|
|
--enable-largefile \
|
|
|| die "econf failed"
|
|
|
|
}
|
|
|
|
src_compile() {
|
|
|
|
emake all || die "emake boot failed"
|
|
|
|
}
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "emake install failed"
|
|
emake DESTDIR="${D}" shared-build || die "emake shared-build failed"
|
|
dolib.so sharedbuild/lib/libtalloc.so
|
|
dolib.a sharedbuild/lib/libtalloc.a
|
|
|
|
}
|