void-packages/srcpkgs/lvm2/liblvm2app-devel.template
Juan RP e23ddee5a6 lvm2: build liblvm2applib and create two new subpkgs.
--HG--
extra : convert_revision : 80c1f4057b9cf02301f4f0ec417080222d5eb6df
2010-04-13 16:10:05 +02:00

18 lines
561 B
Text

# 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
}