2009-12-08 09:51:53 +00:00
|
|
|
# Template file for 'avahi-libs-devel'.
|
|
|
|
#
|
|
|
|
short_desc="Avahi core libraries (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains development files for the core libraries
|
|
|
|
provided by Avahi."
|
|
|
|
|
2011-07-04 08:03:20 +00:00
|
|
|
revision=1
|
|
|
|
|
2009-12-08 09:51:53 +00:00
|
|
|
Add_dependency run glibc-devel
|
|
|
|
Add_dependency run libssp-devel
|
|
|
|
Add_dependency run dbus-devel
|
2010-01-14 15:27:17 +00:00
|
|
|
Add_dependency run avahi-libs
|
2009-12-08 09:51:53 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-10-25 20:25:40 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/{share,include}
|
2009-12-08 09:51:53 +00:00
|
|
|
|
|
|
|
for f in common client core; do
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/avahi-${f} \
|
|
|
|
${DESTDIR}/usr/include
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-${f}.a \
|
|
|
|
${DESTDIR}/usr/lib
|
|
|
|
done
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-core.pc \
|
|
|
|
${DESTDIR}/usr/lib/pkgconfig
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-client.pc \
|
|
|
|
${DESTDIR}/usr/lib/pkgconfig
|
2010-10-25 20:25:40 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/gir-* ${DESTDIR}/usr/share
|
2009-12-08 09:51:53 +00:00
|
|
|
}
|