void-packages/srcpkgs/avahi/avahi-libs-devel.template
Juan RP 54658e4cc5 Added avahi-0.6.25 build template.
--HG--
extra : convert_revision : ddfec312cf9657158ba3af47f902c9d2441c7e15
2009-12-08 10:51:53 +01:00

29 lines
808 B
Text

# 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."
Add_dependency run glibc-devel
Add_dependency run libssp-devel
Add_dependency run dbus-devel
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
for f in common client core; do
mv ${SRCPKGDESTDIR}/usr/include/avahi-${f} \
${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-${f}.so \
${DESTDIR}/usr/lib
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
}