diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-30 16:17:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-30 16:17:43 +0000 |
commit | 517f3cc2f6a644dacf56b07fce6b33a99d7d5c7f (patch) | |
tree | b581b6c40a624c740eb906f5744d30ef66905054 /sys-libs/ss | |
parent | Version bump. (diff) | |
download | gentoo-2-517f3cc2f6a644dacf56b07fce6b33a99d7d5c7f.tar.gz gentoo-2-517f3cc2f6a644dacf56b07fce6b33a99d7d5c7f.tar.bz2 gentoo-2-517f3cc2f6a644dacf56b07fce6b33a99d7d5c7f.zip |
Version bump.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-libs/ss')
-rw-r--r-- | sys-libs/ss/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/ss/files/digest-ss-1.40 | 3 | ||||
-rw-r--r-- | sys-libs/ss/ss-1.40.ebuild | 68 |
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-libs/ss/ChangeLog b/sys-libs/ss/ChangeLog index 8aa1c90ade65..04ab491358ea 100644 --- a/sys-libs/ss/ChangeLog +++ b/sys-libs/ss/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/ss # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.25 2007/05/05 06:37:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.26 2007/06/30 16:17:43 vapier Exp $ + +*ss-1.40 (30 Jun 2007) + + 30 Jun 2007; Mike Frysinger <vapier@gentoo.org> +ss-1.40.ebuild: + Version bump. *ss-1.40_pre20070411 (05 May 2007) diff --git a/sys-libs/ss/files/digest-ss-1.40 b/sys-libs/ss/files/digest-ss-1.40 new file mode 100644 index 000000000000..9ae46389c607 --- /dev/null +++ b/sys-libs/ss/files/digest-ss-1.40 @@ -0,0 +1,3 @@ +MD5 40095356dbe3d970b898469fe598317c e2fsprogs-1.40.tar.gz 4160254 +RMD160 50b80f50c8565514a241a8dbef012139bb5d8313 e2fsprogs-1.40.tar.gz 4160254 +SHA256 3a506f345e5da098c6c37239eb99e92d11a4100490245e102b13c446d1124296 e2fsprogs-1.40.tar.gz 4160254 diff --git a/sys-libs/ss/ss-1.40.ebuild b/sys-libs/ss/ss-1.40.ebuild new file mode 100644 index 000000000000..8037ad31335b --- /dev/null +++ b/sys-libs/ss/ss-1.40.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ss-1.40.ebuild,v 1.1 2007/06/30 16:17:43 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} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.39-makefile.patch + epatch "${FILESDIR}"/${PN}-1.39-parse-types.patch #146903 +} + +src_compile() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true + + # 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() { + make -C lib/ss check || die "make check failed" +} + +src_install() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true + + 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 +} |