diff options
author | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-12-30 20:45:31 +0000 |
---|---|---|
committer | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-12-30 20:45:31 +0000 |
commit | 053df54301f670b3c0cb621ef90b22c9d8fee3a9 (patch) | |
tree | 4a67aa15f7519b09d3b54a22ce0f3197b1c7cdb0 /sys-libs/e2fsprogs-libs | |
parent | QA: Respect CC (bug 243700) (diff) | |
download | gentoo-2-053df54301f670b3c0cb621ef90b22c9d8fee3a9.tar.gz gentoo-2-053df54301f670b3c0cb621ef90b22c9d8fee3a9.tar.bz2 gentoo-2-053df54301f670b3c0cb621ef90b22c9d8fee3a9.zip |
RevBump, ebuild written in EAPI-2 in order to resolve bloggers automatically, fixes bug #234907 , bug #249663
(Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo i686, RepoMan options: --force)
Diffstat (limited to 'sys-libs/e2fsprogs-libs')
-rw-r--r-- | sys-libs/e2fsprogs-libs/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.3-r1.ebuild | 62 |
2 files changed, 70 insertions, 1 deletions
diff --git a/sys-libs/e2fsprogs-libs/ChangeLog b/sys-libs/e2fsprogs-libs/ChangeLog index ae165ee38aba..f3ddb8729d3d 100644 --- a/sys-libs/e2fsprogs-libs/ChangeLog +++ b/sys-libs/e2fsprogs-libs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/e2fsprogs-libs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.19 2008/12/29 18:15:57 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.20 2008/12/30 20:45:31 pchrist Exp $ + +*e2fsprogs-libs-1.41.3-r1 (30 Dec 2008) + + 30 Dec 2008; Panagiotis Christopoulos <pchrist@gentoo.org> + +e2fsprogs-libs-1.41.3-r1.ebuild: + RevBump, ebuild written in EAPI-2 in order to resolve bloggers + automatically, fixes bug #234907 , bug #249663 29 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org> e2fsprogs-libs-1.41.3.ebuild: diff --git a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.3-r1.ebuild b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.3-r1.ebuild new file mode 100644 index 000000000000..f7bd90f189c1 --- /dev/null +++ b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.3-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.3-r1.ebuild,v 1.1 2008/12/30 20:45:31 pchrist Exp $ + +inherit flag-o-matic toolchain-funcs + +EAPI="2" +DESCRIPTION="e2fsprogs libraries (common error, subsystem, uuid, block id)" +HOMEPAGE="http://e2fsprogs.sourceforge.net/" +SRC_URI="mirror://sourceforge/e2fsprogs/${P}.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 + !sys-libs/ss + !<sys-fs/e2fsprogs-1.41" +DEPEND="nls? ( sys-devel/gettext ) + sys-devel/bc" + +src_configure() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + + # 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 \ + $(use_enable !elibc_uclibc tls) \ + $(use_enable nls) \ + || die + +} + +src_compile() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + emake STRIP=/bin/true || die +} + +src_install() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + + emake STRIP=/bin/true DESTDIR="${D}" install || die + + dodir /$(get_libdir) + local lib slib + for lib in "${D}"/usr/$(get_libdir)/*.a ; do + slib=${lib##*/} + mv "${lib%.a}"$(get_libname)* "${D}"/$(get_libdir)/ || die "moving lib ${slib}" + gen_usr_ldscript ${slib%.a}$(get_libname) + done +} |