summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-09 22:37:12 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-09 22:37:12 +0000
commit7332c28a7fae976788e3092c87ad66045a2ff872 (patch)
tree5d88e209e88496914674d4b4d28ddccefacc7701 /sys-libs
parentQA: Removed obsolete DEPEND="${DEPEND}" (diff)
downloadgentoo-2-7332c28a7fae976788e3092c87ad66045a2ff872.tar.gz
gentoo-2-7332c28a7fae976788e3092c87ad66045a2ff872.tar.bz2
gentoo-2-7332c28a7fae976788e3092c87ad66045a2ff872.zip
Version bump #98331 by Joshua.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/com_err/ChangeLog7
-rw-r--r--sys-libs/com_err/com_err-1.38.ebuild69
-rw-r--r--sys-libs/com_err/files/digest-com_err-1.381
3 files changed, 76 insertions, 1 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog
index 65fb43805096..13ae7c1dfa22 100644
--- a/sys-libs/com_err/ChangeLog
+++ b/sys-libs/com_err/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/com_err
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.11 2005/06/30 02:27:04 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.12 2005/07/09 22:37:12 vapier Exp $
+
+*com_err-1.38 (09 Jul 2005)
+
+ 09 Jul 2005; Mike Frysinger <vapier@gentoo.org> +com_err-1.38.ebuild:
+ Version bump #98331 by Joshua.
29 Jun 2005; Joshua Kinard <kumba@gentoo.org> com_err-1.37.ebuild:
Marked stable on mips.
diff --git a/sys-libs/com_err/com_err-1.38.ebuild b/sys-libs/com_err/com_err-1.38.ebuild
new file mode 100644
index 000000000000..63a7679bf462
--- /dev/null
+++ b/sys-libs/com_err/com_err-1.38.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.38.ebuild,v 1.1 2005/07/09 22:37:12 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="common error display library"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND=""
+DEPEND="nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/e2fsprogs-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Clean up makefile to suck less
+ epatch "${FILESDIR}"/${PN}-1.37-makefile.patch
+
+ # Keep the package from doing silly things
+ export LDCONFIG=/bin/true
+ export CC=$(tc-getCC)
+ export STRIP=/bin/true
+}
+
+src_compile() {
+ econf \
+ --enable-elf-shlibs \
+ --with-ldopts="${LDFLAGS}" \
+ $(use_enable nls) \
+ || die
+ emake -C lib/et || die
+}
+
+src_test() {
+ make -C lib/et check || die "make check failed"
+}
+
+src_install() {
+ make -C lib/et DESTDIR="${D}" install || die
+ dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et
+ dosym et/com_err.h /usr/include/com_err.h
+
+ # Move shared libraries to /lib/, install static libraries to /usr/lib/,
+ # and install linker scripts to /usr/lib/.
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/
+ dolib.a lib/libcom_err.a || die "dolib.a"
+ gen_usr_ldscript libcom_err.so
+}
+
+pkg_postinst() {
+ echo
+ einfo "PLEASE PLEASE take note of this"
+ einfo "Please make *sure* to run revdep-rebuild now"
+ einfo "Certain things on your system may have linked against a"
+ einfo "different version of com_err -- those things need to be"
+ einfo "recompiled. Sorry for the inconvenience"
+ echo
+ epause 10
+ ebeep
+}
diff --git a/sys-libs/com_err/files/digest-com_err-1.38 b/sys-libs/com_err/files/digest-com_err-1.38
new file mode 100644
index 000000000000..c0fafc30b051
--- /dev/null
+++ b/sys-libs/com_err/files/digest-com_err-1.38
@@ -0,0 +1 @@
+MD5 d774d4412bfb80d12cf3a4fdfd59de5a e2fsprogs-1.38.tar.gz 3621193