swift       14/05/30 13:59:12

  Modified:             ChangeLog
  Added:                ustr-1.0.4-r4.ebuild
  Log:
  Add multilib support, needed for libsemanage (bug #506460) thanks to Sven Eden
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2EDD52403B68AF47)

Revision  Changes    Path
1.14                 dev-libs/ustr/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   14 Jan 2014 13:58:01 -0000      1.13
+++ ChangeLog   30 May 2014 13:59:12 -0000      1.14
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/ustr
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v 1.13 2014/01/14 
13:58:01 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v 1.14 2014/05/30 
13:59:12 swift Exp $
+
+*ustr-1.0.4-r4 (30 May 2014)
+
+  30 May 2014; Sven Vermeulen <[email protected]> +ustr-1.0.4-r4.ebuild:
+  Add multilib support, needed for libsemanage (bug #506460) thanks to Sven 
Eden
 
   14 Jan 2014; Agostino Sarubbo <[email protected]> ustr-1.0.4-r3.ebuild:
   Stable for x86, wrt bug #495414



1.1                  dev-libs/ustr/ustr-1.0.4-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild?rev=1.1&content-type=text/plain

Index: ustr-1.0.4-r4.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild,v 1.1 
2014/05/30 13:59:12 swift Exp $

EAPI=5

inherit multilib-build toolchain-funcs

DESCRIPTION="Low-overhead managed string library for C"
HOMEPAGE="http://www.and.org/ustr";
SRC_URI="ftp://ftp.and.org/pub/james/ustr/${PV}/${P}.tar.bz2";

LICENSE="|| ( BSD-2 MIT LGPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_prepare() {
        multilib_copy_sources
}

ustr_make() {
        cd "${BUILD_DIR}" || die
        [ -e ustr-conf.h ] && rm ustr-conf.h
        emake "$@" \
                AR="$(tc-getAR)" \
                CC="$(tc-getCC)" \
                CFLAGS="${CFLAGS}" \
                LDFLAGS="${LDFLAGS}" \
                prefix="${EPREFIX}/usr" \
                SHRDIR="/usr/share/${P}" \
                HIDE= || die
}

ustr_install() {
        cd "${BUILD_DIR}" || die

        emake "$@" \
                DESTDIR="${D}" \
                prefix="${EPREFIX}/usr" \
                libdir="${EPREFIX}/usr/$(get_libdir)" \
                mandir="/usr/share/man" \
                SHRDIR="/usr/share/${P}" \
                DOCSHRDIR="/usr/share/doc/${PF}" \
                HIDE= || die
}

src_compile() {
        multilib_foreach_abi ustr_make all-shared
}

multilib_src_test() {
        multilib_foreach_abi ustr_make check
}

src_install() {
        multilib_foreach_abi ustr_install install-multilib-linux
        dodoc ChangeLog README README-DEVELOPERS AUTHORS NEWS TODO
}




Reply via email to