void-packages/srcpkgs/util-linux-ng/libblkid-devel.template
Juan RP 1bd40f7b85 util-linux-ng: add lib{blkid,uuid}{,-devel} subpkgs.
--HG--
extra : convert_revision : 0e14278d4d2a6a8ea87ef5ae8cd875ceea3a7402
2010-02-27 11:06:59 +01:00

26 lines
811 B
Text

# Template file for 'libblkid-devel'.
#
short_desc="libblkid development files"
long_desc="
libblkid contains a library to handle device identification
and token extraction.
This package contains files for development, headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run libuuid-devel
Add_dependency run libblkid
do_install()
{
mkdir -p ${DESTDIR}/usr/include/blkid ${DESTDIR}/usr/share/man/man3 \
${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/include/blkid ${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/usr/lib/libblkid.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libblkid.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/blkid.pc \
${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/share/man/man3/libblkid.3 \
${DESTDIR}/usr/share/man/man3
}