2010-10-22 18:34:57 +02: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."
|
|
|
|
|
2011-07-04 17:29:51 +02:00
|
|
|
revision=2
|
2011-07-03 00:24:33 +02:00
|
|
|
|
2010-10-22 18:34:57 +02:00
|
|
|
Add_dependency run glibc-devel
|
|
|
|
Add_dependency run libuuid-devel
|
2011-07-04 17:29:51 +02:00
|
|
|
Add_dependency run libblkid-devel
|
2010-10-22 18:34:57 +02: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 11:43:10 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/libmount ${DESTDIR}/usr/include
|
2010-10-22 18:34:57 +02:00
|
|
|
}
|