summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-28 06:29:24 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-28 06:29:24 +0000
commite0e54f599d3d5497c4c7ca8d7f515bb281864537 (patch)
treebd2892ab62f3d61f13fe65772031cde25d99639b /sys-libs
parentold (diff)
downloadgentoo-2-e0e54f599d3d5497c4c7ca8d7f515bb281864537.tar.gz
gentoo-2-e0e54f599d3d5497c4c7ca8d7f515bb281864537.tar.bz2
gentoo-2-e0e54f599d3d5497c4c7ca8d7f515bb281864537.zip
Version bump.
(Portage version: 2.1.4)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ss/ChangeLog7
-rw-r--r--sys-libs/ss/files/digest-ss-1.40.53
-rw-r--r--sys-libs/ss/ss-1.40.5.ebuild72
3 files changed, 81 insertions, 1 deletions
diff --git a/sys-libs/ss/ChangeLog b/sys-libs/ss/ChangeLog
index c874cd593a08..175ca3eafc6e 100644
--- a/sys-libs/ss/ChangeLog
+++ b/sys-libs/ss/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/ss
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.44 2008/01/01 12:51:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.45 2008/01/28 06:29:23 vapier Exp $
+
+*ss-1.40.5 (28 Jan 2008)
+
+ 28 Jan 2008; Mike Frysinger <vapier@gentoo.org> +ss-1.40.5.ebuild:
+ Version bump.
*ss-1.40.4 (01 Jan 2008)
diff --git a/sys-libs/ss/files/digest-ss-1.40.5 b/sys-libs/ss/files/digest-ss-1.40.5
new file mode 100644
index 000000000000..b16b69b20a27
--- /dev/null
+++ b/sys-libs/ss/files/digest-ss-1.40.5
@@ -0,0 +1,3 @@
+MD5 69e55eaf543acfab8e2eb8ba2883d8cd e2fsprogs-1.40.5.tar.gz 4048882
+RMD160 ec4a1ab69c114092075b3e6e37aade2facc6e878 e2fsprogs-1.40.5.tar.gz 4048882
+SHA256 11df6d84e0eb0da17938d4802d7872657b464c9a53ed21b0521c929d481d8ac4 e2fsprogs-1.40.5.tar.gz 4048882
diff --git a/sys-libs/ss/ss-1.40.5.ebuild b/sys-libs/ss/ss-1.40.5.ebuild
new file mode 100644
index 000000000000..49c0847fbe80
--- /dev/null
+++ b/sys-libs/ss/ss-1.40.5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ss-1.40.5.ebuild,v 1.1 2008/01/28 06:29:23 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Subsystem command parsing 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 ~x86-fbsd"
+IUSE="nls"
+
+RDEPEND="~sys-libs/com_err-${PV}"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/e2fsprogs-${PV}
+
+env_setup() {
+ export LDCONFIG=/bin/true
+ export CC=$(tc-getCC)
+ export STRIP=/bin/true
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.39-makefile.patch
+}
+
+src_compile() {
+ env_setup
+
+ # We want to use the "bsd" libraries while building on Darwin, but while
+ # building on other Gentoo/*BSD we prefer elf-naming scheme.
+ local libtype
+ case ${CHOST} in
+ *-darwin*) libtype=bsd;;
+ *) libtype=elf;;
+ esac
+
+ econf \
+ --enable-${libtype}-shlibs \
+ --with-ldopts="${LDFLAGS}" \
+ $(use_enable nls) \
+ || die
+ emake -C lib/ss COMPILE_ET=compile_et || die "make ss failed"
+}
+
+src_test() {
+ env_setup
+
+ ln -s $(${CC} -print-file-name=libcom_err.so) lib/libcom_err.so
+ emake -j1 -C lib/ss check || die "make check failed"
+}
+
+src_install() {
+ env_setup
+
+ dodir /usr/share/man/man1
+ make -C lib/ss DESTDIR="${D}" install || die
+
+ # 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)/ || die "move .so"
+ dolib.a lib/libss.a || die "dolib.a"
+ gen_usr_ldscript libss.so
+}