diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-08-02 23:00:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-08-02 23:00:54 +0000 |
commit | cf73643b2b4200c15754b811dc944c851c7e4147 (patch) | |
tree | 76f900d75bade684e03a889dac813a3720764a38 /sys-devel/sparse/sparse-0.3-r1.ebuild | |
parent | old (diff) | |
download | gentoo-2-cf73643b2b4200c15754b811dc944c851c7e4147.tar.gz gentoo-2-cf73643b2b4200c15754b811dc944c851c7e4147.tar.bz2 gentoo-2-cf73643b2b4200c15754b811dc944c851c7e4147.zip |
Fix header install and library generation/install #183679 by Daniel Gryniewicz.
(Portage version: 2.1.3)
Diffstat (limited to 'sys-devel/sparse/sparse-0.3-r1.ebuild')
-rw-r--r-- | sys-devel/sparse/sparse-0.3-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-devel/sparse/sparse-0.3-r1.ebuild b/sys-devel/sparse/sparse-0.3-r1.ebuild new file mode 100644 index 000000000000..20013f1f306a --- /dev/null +++ b/sys-devel/sparse/sparse-0.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.3-r1.ebuild,v 1.1 2007/08/02 23:00:54 vapier Exp $ + +inherit eutils multilib + +DESCRIPTION="C semantic parser" +HOMEPAGE="http://kernel.org/pub/linux/kernel/people/josh/sparse/" +SRC_URI="http://kernel.org/pub/linux/kernel/people/josh/sparse/dist/${P}.tar.gz" + +LICENSE="OSL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + epatch "${FILESDIR}"/${P}-makefile-fix.patch +} + +src_compile() { + emake CFLAGS="${CFLAGS} -fpic" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "make install failed" + dodoc FAQ README +} |