# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" DESCRIPTION="A Library of Bullet Markup Language" SRC_URI="http://user.ecc.u-tokyo.ac.jp/~s31552/wp/libbulletml/${P}.tar.bz2" HOMEPAGE="http://user.ecc.u-tokyo.ac.jp/~s31552/wp/libbulletml/" SLOT="0" LICENSE="BSD" KEYWORDS="x86 alpha ~sparc ~sparc64 ~ppc" DEPEND="sys-devel/gcc sys-devel/bison" RDEPEND="" S="${WORKDIR}/${PN#lib}" src_compile() { cd ${S}/src emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -W -Wall -ansi -pedantic" || die } src_install() { cd ${S}/src dolib.a libbulletml.a insinto /usr/include/bulletml doins *.h insinto /usr/include/bulletml/tinyxml doins tinyxml/tinyxml.h insinto /usr/include/bulletml/ygg doins ygg/ygg.h cd ${S} dodoc README README.bulletml }