diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-01 22:45:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-01 22:45:26 +0000 |
commit | 07194185f9166bfc970eb6e4c84461c2a75427a7 (patch) | |
tree | 1f79b98dd16342126c82f1710c1c05574cc70256 /sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild | |
parent | old (diff) | |
download | gentoo-2-07194185f9166bfc970eb6e4c84461c2a75427a7.tar.gz gentoo-2-07194185f9166bfc970eb6e4c84461c2a75427a7.tar.bz2 gentoo-2-07194185f9166bfc970eb6e4c84461c2a75427a7.zip |
move from sys-libs
(Portage version: 2.0.51.18)
Diffstat (limited to 'sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild')
-rw-r--r-- | sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild b/sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild new file mode 100644 index 000000000000..67d3b7cc12e2 --- /dev/null +++ b/sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.00.19-r2.ebuild,v 1.1 2005/03/01 22:45:26 vapier Exp $ + +inherit eutils + +DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities." +HOMEPAGE="http://sources.redhat.com/dm/" +SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${PN}.${PV} + +src_compile() { + econf || die "econf failed" + + # Parallel build doesn't work. + emake -j1 || die "compile problem" +} + +src_install() { + einstall sbindir="${D}/sbin" \ + libdir="${D}/$(get_libdir)" || die "install failed" + + # Please do not use $(get_libdir) here again, as it is where it is + # _located_, and not to where it is installed! + dolib.a ${S}/lib/ioctl/libdevmapper.a + # bug #4411 + gen_usr_ldscript libdevmapper.so || die "gen_usr_ldscript failed" + + insinto /etc + doins ${FILESDIR}/dmtab + insinto /lib/rcscripts/addons + doins ${FILESDIR}/dm-start.sh + + dodoc COPYING* INSTALL INTRO README VERSION WHATS_NEW +} |