diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-17 19:28:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-17 19:28:20 +0000 |
commit | f0318dbff89d7132a09f86b33a72642bb3bfeb83 (patch) | |
tree | fffe27a69882e22a3580fab39c9116dc557ad4f9 /sys-devel/sparse | |
parent | rdepend to dev-util/mercurial fixed; thanks to R.Gruber on bug #192805 (diff) | |
download | gentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.tar.gz gentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.tar.bz2 gentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.zip |
Version bump.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-devel/sparse')
-rw-r--r-- | sys-devel/sparse/ChangeLog | 9 | ||||
-rw-r--r-- | sys-devel/sparse/files/digest-sparse-0.4 | 3 | ||||
-rw-r--r-- | sys-devel/sparse/files/sparse-0.4-makefile-fix.patch | 11 | ||||
-rw-r--r-- | sys-devel/sparse/sparse-0.4.ebuild | 32 | ||||
-rw-r--r-- | sys-devel/sparse/sparse-9999.ebuild | 9 |
5 files changed, 60 insertions, 4 deletions
diff --git a/sys-devel/sparse/ChangeLog b/sys-devel/sparse/ChangeLog index 2869228e6998..57feb0f0b8d2 100644 --- a/sys-devel/sparse/ChangeLog +++ b/sys-devel/sparse/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/sparse # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.9 2007/08/25 12:40:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.10 2007/09/17 19:28:20 vapier Exp $ + +*sparse-0.4 (17 Sep 2007) + + 17 Sep 2007; Mike Frysinger <vapier@gentoo.org> + +files/sparse-0.4-makefile-fix.patch, +sparse-0.4.ebuild, + sparse-9999.ebuild: + Version bump. *sparse-9999 (25 Aug 2007) diff --git a/sys-devel/sparse/files/digest-sparse-0.4 b/sys-devel/sparse/files/digest-sparse-0.4 new file mode 100644 index 000000000000..dfd7b5966314 --- /dev/null +++ b/sys-devel/sparse/files/digest-sparse-0.4 @@ -0,0 +1,3 @@ +MD5 dedd6043e7665ab134c20a45ecbc030c sparse-0.4.tar.gz 199090 +RMD160 aa654d964d293af5d06d94dd7af3cab8d8a6896f sparse-0.4.tar.gz 199090 +SHA256 f33732ae72e99e981a9c95f73a502b5883e853a30fcc93d3e0fbd57c560e3e2f sparse-0.4.tar.gz 199090 diff --git a/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch b/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch new file mode 100644 index 000000000000..5af1467b2c78 --- /dev/null +++ b/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch @@ -0,0 +1,11 @@ +--- sparse-0.4/Makefile ++++ sparse-0.4/Makefile +@@ -81,7 +81,7 @@ + $(QUIET_INST_SH)install -v $$f $(DESTDIR)$(BINDIR)/$$f || exit 1; \ + done + $(Q)for f in $(INST_MAN1); do \ +- $(QUIET_INST_SH)install -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \ ++ $(QUIET_INST_SH)install -v $$f -m 0644 $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \ + done + $(Q)for f in $(LIBS); do \ + $(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(LIBDIR)/$$f || exit 1; \ diff --git a/sys-devel/sparse/sparse-0.4.ebuild b/sys-devel/sparse/sparse-0.4.ebuild new file mode 100644 index 000000000000..e7874ec0329d --- /dev/null +++ b/sys-devel/sparse/sparse-0.4.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.4.ebuild,v 1.1 2007/09/17 19:28:20 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 ~ppc64 ~s390 ~sh ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/^PREFIX=/s:=.*:=/usr:' \ + -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \ + Makefile || die + epatch "${FILESDIR}"/${P}-makefile-fix.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc FAQ README +} diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild index 34a778a2bdef..f19d127369a3 100644 --- a/sys-devel/sparse/sparse-9999.ebuild +++ b/sys-devel/sparse/sparse-9999.ebuild @@ -1,6 +1,6 @@ # 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-9999.ebuild,v 1.1 2007/08/25 12:40:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v 1.2 2007/09/17 19:28:20 vapier Exp $ EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/sparse/sparse.git" inherit eutils multilib git @@ -20,10 +20,13 @@ RDEPEND="" src_unpack() { git_src_unpack cd "${S}" - sed -i '/^PREFIX=/s:=.*:=/usr:' Makefile + sed -i \ + -e '/^PREFIX=/s:=.*:=/usr:' \ + -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \ + Makefile || die } src_install() { - emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" dodoc FAQ README } |