diff options
author | 2012-05-31 01:38:02 +0000 | |
---|---|---|
committer | 2012-05-31 01:38:02 +0000 | |
commit | 499873909b83317d982b52ced0f009d90fc9c92f (patch) | |
tree | bf87c1ce2a29c633b4ed0b544a9b71667384ba05 /dev-libs | |
parent | remove old mask due to texlive 2010 not being keyworded, texlive 2011 is stab... (diff) | |
download | gentoo-2-499873909b83317d982b52ced0f009d90fc9c92f.tar.gz gentoo-2-499873909b83317d982b52ced0f009d90fc9c92f.tar.bz2 gentoo-2-499873909b83317d982b52ced0f009d90fc9c92f.zip |
Version bump.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libbsd/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.4.0.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/libbsd/ChangeLog b/dev-libs/libbsd/ChangeLog index c1558abc62d5..89338ec12e7d 100644 --- a/dev-libs/libbsd/ChangeLog +++ b/dev-libs/libbsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libbsd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/ChangeLog,v 1.9 2012/01/15 17:12:59 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/ChangeLog,v 1.10 2012/05/31 01:38:02 ssuominen Exp $ + +*libbsd-0.4.0 (31 May 2012) + + 31 May 2012; Samuli Suominen <ssuominen@gentoo.org> +libbsd-0.4.0.ebuild: + Version bump. 15 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -libbsd-0.2.0.ebuild, -files/libbsd-0.2.0-arc4random-prototypes.patch, diff --git a/dev-libs/libbsd/libbsd-0.4.0.ebuild b/dev-libs/libbsd/libbsd-0.4.0.ebuild new file mode 100644 index 000000000000..1a1a724c9a12 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.4.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.4.0.ebuild,v 1.1 2012/05/31 01:38:02 ssuominen Exp $ + +EAPI=4 +inherit multilib + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="http://libbsd.freedesktop.org/wiki/" +SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DOCS="ChangeLog README TODO" + +pkg_setup() { + local f="${ROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +src_prepare() { + # --disable-silent-rules in econf to ensure system CFLAGS get used: + sed -i -e '/^CFLAGS/s:=:+=:' {src,test}/Makefile.{am,in} || die +} + +src_configure() { + # Ensure both $(libdir) and $(runtimelibdir) match for skipping + # "install-exec-hook:" from src/Makefile.am + export runtimelibdir="/usr/$(get_libdir)" + econf \ + --libdir="${runtimelibdir}" \ + --disable-silent-rules \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}"/usr -name '*.la' -exec rm -f {} + +} |