lvm2: add new subpkg 'device-mapper-devel'.

--HG--
extra : convert_revision : 05de3926914b30b699117d3758c6300398ffb290
This commit is contained in:
Juan RP 2009-12-05 08:02:23 +01:00
parent 3b96144c02
commit b58a5db969
4 changed files with 23 additions and 6 deletions

1
srcpkgs/device-mapper-devel Symbolic link
View file

@ -0,0 +1 @@
lvm2

View file

@ -0,0 +1,18 @@
# Template file for 'device-mapper-devel'
#
short_desc="${sourcepkg} development files"
long_desc="
This package contains the development files for the kernel device-mapper
library, libdevmapper."
Add_dependency run glibc-devel
Add_dependency run readline-devel
Add_dependency run device-mapper
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/lib* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -6,17 +6,15 @@ long_desc="
for the kernel device-mapper and its required library, libdevmapper."
replaces="lvm2-device-mapper"
revision=1
Add_dependency run glibc
Add_dependency run readline
do_install()
{
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib \
${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man8
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib ${DESTDIR}/usr/share/man/man8
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
mv ${SRCPKGDESTDIR}/lib/libdevmapper* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/libdevmapper.so.* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
}

View file

@ -22,7 +22,7 @@ long_desc="
(kind of logical partitions) in volume groups."
keep_empty_dirs=yes
subpackages="device-mapper"
subpackages="device-mapper device-mapper-devel"
conf_files="/etc/lvm/lvm.conf"
triggers="initramfs-tools"
openrc_services="lvm2 shutdown"