diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-11-09 08:14:55 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-11-09 08:14:55 +0000 |
commit | bb5c7884be3d8fd45913a62082f1ab59a4d51a1f (patch) | |
tree | f145295f4f41893b3d147918d9e9db249cc9cde0 /sys-apps/evms | |
parent | einstall instead of make prefix blahblah install (diff) | |
download | gentoo-2-bb5c7884be3d8fd45913a62082f1ab59a4d51a1f.tar.gz gentoo-2-bb5c7884be3d8fd45913a62082f1ab59a4d51a1f.tar.bz2 gentoo-2-bb5c7884be3d8fd45913a62082f1ab59a4d51a1f.zip |
linker scripts as bug #4411
Diffstat (limited to 'sys-apps/evms')
-rw-r--r-- | sys-apps/evms/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/evms/evms-1.2.0-r1.ebuild | 80 | ||||
-rw-r--r-- | sys-apps/evms/files/digest-evms-1.2.0-r1 | 1 |
3 files changed, 88 insertions, 1 deletions
diff --git a/sys-apps/evms/ChangeLog b/sys-apps/evms/ChangeLog index 5b3310319c40..5fbcd340d334 100644 --- a/sys-apps/evms/ChangeLog +++ b/sys-apps/evms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/evms # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/ChangeLog,v 1.10 2002/10/12 22:09:05 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/ChangeLog,v 1.11 2002/11/09 08:14:55 azarah Exp $ + +*evms-1.2.0-r1 (10 Nov 2002) + + 09 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: Update to generate + ldscripts for dynamic libs in /lib in /usr/lib. This is part of fixes + for bug #4411. *evms-1.2.0 (02 Oct 2002) diff --git a/sys-apps/evms/evms-1.2.0-r1.ebuild b/sys-apps/evms/evms-1.2.0-r1.ebuild new file mode 100644 index 000000000000..6c2e1f4b2d79 --- /dev/null +++ b/sys-apps/evms/evms-1.2.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/evms-1.2.0-r1.ebuild,v 1.1 2002/11/09 08:14:55 azarah Exp $ + +IUSE="ncurses gtk" + +inherit eutils + +S="${WORKDIR}/${P}" +DESCRIPTION="Utilities for the IBM Enterprise Volume Management System" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.sourceforge.net/projects/evms" + +KEYWORDS="x86 -ppc" +LICENSE="GPL-2" +SLOT="0" + +#EVMS uses libuuid from e2fsprogs +DEPEND="virtual/glibc + sys-apps/e2fsprogs + gtk? ( =x11-libs/gtk+-1* ) + ncurses? ( sys-libs/ncurses )" + + +src_compile() { + local interfaces="CommandLine,utilities" + use ncurses && interfaces="ncurses,${interfaces}" + use gtk && interfaces="evmsgui,${interfaces}" + + cd engine + ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --sbindir=/sbin \ + --with-plugins=all \ + --mandir=/usr/share/man \ + --includedir=/usr/include \ + --with-interfaces=${interfaces} \ + --host=${CHOST} || die "bad ./configure" + #1.2.0 doesn't support parallel make + make || die "compile problem" +} + +src_install() { + make -C engine DESTDIR=${D} install || die + dodoc CHANGES COPYING EVMS*.txt PLUGIN.IDS + + # move static libraries to /usr/lib + dodir /usr/lib + mv -f ${D}/lib/*.a ${D}/usr/lib + # Create linker scripts for dynamic libs in /lib, else gcc + # links to the static ones in /usr/lib first. Bug #4411. + for x in ${D}/usr/lib/*.a + do + if [ -f ${x} ] + then + local lib="${x##*/}" + gen_usr_ldscript ${lib/\.a/\.so} + fi + done + + # realize these symlinks now so they get included + cd ${D}/lib + rm -f libdlist.so libevms.so + ln -sf libevms-${PV}.so libevms.so.1 + ln -sf libevms.so.1 libevms.so + ln -sf libdlist-1.0.so libdlist.so.1 + ln -sf libdlist.so.1 libdlist.so + + # the gtk+ frontend should live in /usr/sbin + if [ -n "`use gtk`" ] + then + dodir /usr/sbin + mv -f ${D}/sbin/evmsgui ${D}/usr/sbin + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/evms-init evms +} + diff --git a/sys-apps/evms/files/digest-evms-1.2.0-r1 b/sys-apps/evms/files/digest-evms-1.2.0-r1 new file mode 100644 index 000000000000..2559ff7df4a7 --- /dev/null +++ b/sys-apps/evms/files/digest-evms-1.2.0-r1 @@ -0,0 +1 @@ +MD5 70dde97474eb3ab73f4bed144e3fb849 evms-1.2.0.tar.gz 1885734 |