lvm2: build liblvm2applib and create two new subpkgs.
--HG-- extra : convert_revision : 80c1f4057b9cf02301f4f0ec417080222d5eb6df
This commit is contained in:
parent
52d3280790
commit
e23ddee5a6
6 changed files with 42 additions and 4 deletions
18
srcpkgs/lvm2/liblvm2app-devel.template
Normal file
18
srcpkgs/lvm2/liblvm2app-devel.template
Normal file
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue