lvm2: build liblvm2applib and create two new subpkgs.
--HG-- extra : convert_revision : 80c1f4057b9cf02301f4f0ec417080222d5eb6df
This commit is contained in:
parent
52d3280790
commit
e23ddee5a6
|
@ -0,0 +1 @@
|
|||
lvm2
|
|
@ -0,0 +1 @@
|
|||
lvm2
|
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'liblvm2app-devel'
|
||||
#
|
||||
short_desc="LVM2 application library - development files"
|
||||
long_desc="
|
||||
This package contains files needed to develop applications that use the
|
||||
lvm2app library."
|
||||
|
||||
Add_dependency run device-mapper-devel
|
||||
Add_dependency run liblvm2app
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/include/lvm2app.h ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/liblvm2app.* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/lvm2app* \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'liblvm2app'
|
||||
#
|
||||
short_desc="LVM2 application library"
|
||||
long_desc="
|
||||
This package contains the lvm2app shared library. It allows easier access
|
||||
to the basic LVM objects and provides functions to enumerate, create or
|
||||
modify them."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run device-mapper
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/lib
|
||||
mv ${SRCPKGDESTDIR}/lib/liblvm2app.so.* ${DESTDIR}/lib
|
||||
}
|
|
@ -5,11 +5,10 @@ wrksrc=LVM2.${version}
|
|||
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
|
||||
--enable-fsadm"
|
||||
--enable-fsadm --enable-applib"
|
||||
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version
|
||||
sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin
|
||||
libdir=$XBPS_DESTDIR/$pkgname-$version/lib
|
||||
install_device-mapper install_lvm2"
|
||||
libdir=$XBPS_DESTDIR/$pkgname-$version/lib install"
|
||||
short_desc="Logical Volume Manager 2 utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=8c304aaa5560b8232a3ef58eebc23860db74349fbeda440417e02cde01f93a9e
|
||||
|
@ -22,7 +21,7 @@ long_desc="
|
|||
(kind of logical partitions) in volume groups."
|
||||
|
||||
keep_empty_dirs=yes
|
||||
subpackages="device-mapper device-mapper-devel"
|
||||
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
|
||||
conf_files="/etc/lvm/lvm.conf"
|
||||
triggers="initramfs-tools"
|
||||
openrc_services="lvm2 shutdown"
|
||||
|
@ -49,4 +48,6 @@ post_install()
|
|||
rm -f ${DESTDIR}/lib/*.so ${DESTDIR}/usr/lib/*.so
|
||||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -sf $(echo ../../lib/libdevmapper.so.*) libdevmapper.so
|
||||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -sf $(echo ../../lib/liblvm2app.so.*) liblvm2app.so
|
||||
}
|
||||
|
|
|
@ -590,3 +590,4 @@ libboost_wserialization.so.1.42 boost boost-devel
|
|||
libexempi.so exempi exempi-devel
|
||||
libatasmart.so libatasmart libatasmart-devel
|
||||
libsgutils2.so sg3_utils sg3_utils-devel
|
||||
liblvm2app.so liblvm2app liblvm2app-devel
|
||||
|
|
Loading…
Reference in New Issue