diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 15:42:41 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 15:42:41 +0000 |
commit | 11286cb29059f00e253a6bd6b795f31243e7ac51 (patch) | |
tree | 8055f63644f548ad823e92a2a6859d0b0440cbc4 /dev-libs/libmba/libmba-0.9.1.ebuild | |
parent | Stable on amd64, bug #150405 (diff) | |
download | historical-11286cb29059f00e253a6bd6b795f31243e7ac51.tar.gz historical-11286cb29059f00e253a6bd6b795f31243e7ac51.tar.bz2 historical-11286cb29059f00e253a6bd6b795f31243e7ac51.zip |
Initial commit, thanks to Jonathan Manning and Daniel Willmann for providing an ebuild in bug #63546
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'dev-libs/libmba/libmba-0.9.1.ebuild')
-rw-r--r-- | dev-libs/libmba/libmba-0.9.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libmba/libmba-0.9.1.ebuild b/dev-libs/libmba/libmba-0.9.1.ebuild new file mode 100644 index 000000000000..c84413cbcd9f --- /dev/null +++ b/dev-libs/libmba/libmba-0.9.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmba/libmba-0.9.1.ebuild,v 1.1 2006/10/08 15:42:41 jokey Exp $ + +DESCRIPTION="A library of generic C modules." +HOMEPAGE="http://www.ioplex.com/~miallen/libmba/" +SRC_URI="http://www.ioplex.com/~miallen/libmba/dl/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + rm Makefile.linux +} + +src_compile() { + # Parallel make fails unless mktool is built first + emake -j1 mktool || die "Unable to build mktool" + + # Makefile uses MFLAGS, not CFLAGS + # Additional MFLAGS are from Makefile and are required + emake MFLAGS="-Isrc -W1 ${CFLAGS}" || die "emake failed" +} + +src_install() { + # einstall is required here. No DESTDIR support + einstall || die "Install failed!" + + dodoc README.txt docs/*.txt || die + dohtml -r docs/*.html docs/www/* docs/ref || die + + insinto /usr/share/doc/${PF}/examples + doins examples/* +} + |