2010-10-22 16:34:57 +00:00
|
|
|
# Template file for 'libmount-devel'.
|
|
|
|
#
|
|
|
|
short_desc="mount(8) library development files"
|
|
|
|
long_desc="
|
|
|
|
This NEW LIBRARY is designed to be used in low-level utils like
|
|
|
|
mount(8) and /sbin/mount.<type> helpers as well as in some other
|
|
|
|
projects.
|
|
|
|
|
|
|
|
This packages contains files for development, static files, headers, etc."
|
|
|
|
|
|
|
|
Add_dependency run glibc-devel
|
|
|
|
Add_dependency run libuuid-devel
|
2011-07-04 15:29:51 +00:00
|
|
|
Add_dependency run libblkid-devel
|
2010-10-22 16:34:57 +00:00
|
|
|
Add_dependency run libmount
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libmount.a ${DESTDIR}/usr/lib
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/*mount* ${DESTDIR}/usr/lib/pkgconfig
|
2011-01-26 10:43:10 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/libmount ${DESTDIR}/usr/include
|
2010-10-22 16:34:57 +00:00
|
|
|
}
|