diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:11:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:11:03 +0100 |
commit | 2929788def9a92c1eb237eed93fbdb0c02838bbf (patch) | |
tree | 166b01591366d3479084ea774c888bc84aaa8d4f /dev-libs/libhome/libhome-0.10.2-r2.ebuild | |
parent | ab499d7cfb9ad23e83cf7a4f5052bdf1b4c42030 (diff) |
Revert "gentoo resync : 13.10.2019"
This reverts commit ab499d7cfb9ad23e83cf7a4f5052bdf1b4c42030.
Diffstat (limited to 'dev-libs/libhome/libhome-0.10.2-r2.ebuild')
-rw-r--r-- | dev-libs/libhome/libhome-0.10.2-r2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libhome/libhome-0.10.2-r2.ebuild b/dev-libs/libhome/libhome-0.10.2-r2.ebuild new file mode 100644 index 000000000000..b94cfd3c8377 --- /dev/null +++ b/dev-libs/libhome/libhome-0.10.2-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools db-use + +DESCRIPTION="libhome is a library providing a getpwnam() emulation" +HOMEPAGE="http://pll.sourceforge.net" +SRC_URI="mirror://sourceforge/pll/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="berkdb ldap mysql pam postgres static-libs" + +DEPEND="berkdb? ( >=sys-libs/db-4 ) + ldap? ( net-nds/openldap ) + mysql? ( dev-db/mysql-connector-c:= ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql[server] )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.2-Makefile.patch + "${FILESDIR}"/${PN}-0.10.2-ldap_deprecated.patch +) + +src_prepare() { + rm -f aclocal.m4 + + default + + # bug 225579 + sed -i -e 's:\<VERSION\>:__PKG_VERSION:' configure.in + + sed -i -e '/AC_SEARCH_LIBS.*db4/s: db-4.* db4:'$(db_libname)':' \ + configure.in + + eautoreconf +} + +src_configure() { + econf --without-db3 \ + $(use_with berkdb db4 $(db_includedir)) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with pam) \ + $(use_with postgres pgsql) \ + $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || find "${D}" -name '*.la' -delete +} |