diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-01 04:44:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-01 04:44:06 +0000 |
commit | 43df6a766bd8a0a7cf74a15c6268c57acfc788b8 (patch) | |
tree | 9bd8be7a1c10b96cc7b8c2acd38385d1e0682fe5 /sys-libs | |
parent | Moving package to ~x86 to prepare for it being removed, upstream is dead and ... (diff) | |
download | gentoo-2-43df6a766bd8a0a7cf74a15c6268c57acfc788b8.tar.gz gentoo-2-43df6a766bd8a0a7cf74a15c6268c57acfc788b8.tar.bz2 gentoo-2-43df6a766bd8a0a7cf74a15c6268c57acfc788b8.zip |
Version bump #141246 by David Brown.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/ss/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/ss/files/digest-ss-1.38 | 2 | ||||
-rw-r--r-- | sys-libs/ss/files/digest-ss-1.39 | 3 | ||||
-rw-r--r-- | sys-libs/ss/files/ss-1.39-makefile.patch | 9 | ||||
-rw-r--r-- | sys-libs/ss/ss-1.39.ebuild | 68 |
5 files changed, 89 insertions, 1 deletions
diff --git a/sys-libs/ss/ChangeLog b/sys-libs/ss/ChangeLog index 43257ad50e44..3c385ae6778d 100644 --- a/sys-libs/ss/ChangeLog +++ b/sys-libs/ss/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/ss # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.21 2006/01/06 23:37:59 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.22 2006/08/01 04:44:06 vapier Exp $ + +*ss-1.39 (01 Aug 2006) + + 01 Aug 2006; Mike Frysinger <vapier@gentoo.org> + +files/ss-1.39-makefile.patch, +ss-1.39.ebuild: + Version bump #141246 by David Brown. 06 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> ss-1.38.ebuild: Replace an userland check by $CHOST check; added comment with reasons. diff --git a/sys-libs/ss/files/digest-ss-1.38 b/sys-libs/ss/files/digest-ss-1.38 index c0fafc30b051..b74c52b56bb1 100644 --- a/sys-libs/ss/files/digest-ss-1.38 +++ b/sys-libs/ss/files/digest-ss-1.38 @@ -1 +1,3 @@ MD5 d774d4412bfb80d12cf3a4fdfd59de5a e2fsprogs-1.38.tar.gz 3621193 +RMD160 492071c29e9a0adc1bed0762e795efb6b29a692c e2fsprogs-1.38.tar.gz 3621193 +SHA256 c4e482687d0cff240d02a70fcf423cc14296b6a7869cd8dd42d5404d098e0bb7 e2fsprogs-1.38.tar.gz 3621193 diff --git a/sys-libs/ss/files/digest-ss-1.39 b/sys-libs/ss/files/digest-ss-1.39 new file mode 100644 index 000000000000..7e58444d768b --- /dev/null +++ b/sys-libs/ss/files/digest-ss-1.39 @@ -0,0 +1,3 @@ +MD5 06f7806782e357797fad1d34b7ced0c6 e2fsprogs-1.39.tar.gz 3695111 +RMD160 67e77a7cbf0e719fa8b5a8ac6285b334e1c3481b e2fsprogs-1.39.tar.gz 3695111 +SHA256 dc2033447e69a1612881151f6f163e8a3b80e51d16f5e8b3576f3f8ccb325ea3 e2fsprogs-1.39.tar.gz 3695111 diff --git a/sys-libs/ss/files/ss-1.39-makefile.patch b/sys-libs/ss/files/ss-1.39-makefile.patch new file mode 100644 index 000000000000..f96dd89c1962 --- /dev/null +++ b/sys-libs/ss/files/ss-1.39-makefile.patch @@ -0,0 +1,9 @@ +Fix the symlinks that submakefiles create so that they don't suck at life. + +--- lib/Makefile.elf-lib ++++ lib/Makefile.elf-lib +@@ -49,3 +49,3 @@ + @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so" +- @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ ++ @$(LN_S) -f $(ELF_SONAME) \ + $(DESTDIR)$(libdir)/$(ELF_IMAGE).so diff --git a/sys-libs/ss/ss-1.39.ebuild b/sys-libs/ss/ss-1.39.ebuild new file mode 100644 index 000000000000..496c4ac7da13 --- /dev/null +++ b/sys-libs/ss/ss-1.39.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ss-1.39.ebuild,v 1.1 2006/08/01 04:44:06 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" +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.38-locale.patch + epatch "${FILESDIR}"/${PN}-1.39-makefile.patch +} + +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 +} |