dev-libs/adminutil: Repoman Cleanup

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@459 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2008-08-20 12:03:10 +00:00
parent 5217aab927
commit 61c7f0cf0d
4 changed files with 22 additions and 87 deletions

View File

@@ -11,36 +11,27 @@ SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
LICENSE="GPL-2-with-exceptions"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sasl ipv6 debug"
IUSE="debug"
DEPEND=">=dev-libs/nss-3.11.4
>=dev-libs/nspr-4.6.4
>=dev-libs/svrcore-4.0.3
>=dev-libs/mozldap-6.0.2
sasl? ( >=dev-libs/cyrus-sasl-2.1.19 )
>=dev-libs/icu-3.4
!net-nds/fedora-ds-adminutil"
>=dev-libs/nspr-4.6.4
>=dev-libs/svrcore-4.0.3
>=dev-libs/mozldap-6.0.2
>=dev-libs/cyrus-sasl-2.1.19
>=dev-libs/icu-3.4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/adminutil-1.1.4-no_icu_pc.patch
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/adminutil-1.1.4-no_icu_pc.patch
}
src_compile() {
if use amd64 ; then
myconf="${myconf} --enable-64bit"
elif use sasl ; then
myconf="${myconf} --with-sasl=yes"
else
myconf=""
fi
econf $(use_enable debug) \
${myconf} \
--with-fhs \
|| die "econf failed"
emake || die "emake failed"
econf $(use_enable debug) \
${myconf} \
--with-fhs \
|| die "econf failed"
emake || die "emake failed"
# --with-nspr=yes \
# --with-nss=yes \
@@ -52,6 +43,5 @@ src_compile() {
}
src_install () {
emake DESTDIR=${D} install || die "emake failed"
emake DESTDIR="${D}" install || die "emake failed"
}