Update cc65 & liblightscribe; start adding required libs for fedora-ds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@149 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2007-08-07 07:35:04 +00:00
parent cb7fc5f41e
commit 42678a6883
18 changed files with 402 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils multilib autotools
DESCRIPTION="Mozilla LDAP C SDK"
HOMEPAGE="http://wiki.mozilla.org/LDAP_C_SDK"
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/${PV}/src/${P}.tar.bz2"
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ipv6 debug"
DEPEND=">=dev-libs/nss-3.11
>=dev-libs/nspr-4.6"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-gentoo.patch
cd ${S}
eautoreconf
}
src_compile() {
if use amd64 ; then
myconf="${myconf} --enable-64bit"
else
myconf=""
fi
econf $(use_enable debug) ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install () {
emake DESTDIR=${D} install || die "emake failed"
# cope with libraries being in /usr/lib/svrcore
dodir /etc/env.d
echo "LDPATH=/usr/$(get_libdir)/svrcore" > ${D}/etc/env.d/08svrcore
}