lvm2: add new subpkg 'device-mapper-devel'.
--HG-- extra : convert_revision : 05de3926914b30b699117d3758c6300398ffb290
This commit is contained in:
parent
3b96144c02
commit
b58a5db969
4 changed files with 23 additions and 6 deletions
1
srcpkgs/device-mapper-devel
Symbolic link
1
srcpkgs/device-mapper-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
lvm2
|
18
srcpkgs/lvm2/device-mapper-devel.template
Normal file
18
srcpkgs/lvm2/device-mapper-devel.template
Normal 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
|
||||||
|
}
|
|
@ -6,17 +6,15 @@ long_desc="
|
||||||
for the kernel device-mapper and its required library, libdevmapper."
|
for the kernel device-mapper and its required library, libdevmapper."
|
||||||
|
|
||||||
replaces="lvm2-device-mapper"
|
replaces="lvm2-device-mapper"
|
||||||
|
revision=1
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run readline
|
Add_dependency run readline
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib \
|
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib ${DESTDIR}/usr/share/man/man8
|
||||||
${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man8
|
|
||||||
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
|
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
|
||||||
mv ${SRCPKGDESTDIR}/lib/libdevmapper* ${DESTDIR}/lib
|
mv ${SRCPKGDESTDIR}/lib/libdevmapper.so.* ${DESTDIR}/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
|
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ long_desc="
|
||||||
(kind of logical partitions) in volume groups."
|
(kind of logical partitions) in volume groups."
|
||||||
|
|
||||||
keep_empty_dirs=yes
|
keep_empty_dirs=yes
|
||||||
subpackages="device-mapper"
|
subpackages="device-mapper device-mapper-devel"
|
||||||
conf_files="/etc/lvm/lvm.conf"
|
conf_files="/etc/lvm/lvm.conf"
|
||||||
triggers="initramfs-tools"
|
triggers="initramfs-tools"
|
||||||
openrc_services="lvm2 shutdown"
|
openrc_services="lvm2 shutdown"
|
||||||
|
|
Loading…
Reference in a new issue