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

34 lines
1.0 KiB
Plaintext

# Template file for 'avahi-discover'.
#
short_desc="Service discover user interface for avahi"
long_desc="${long_desc}
This package contains a user interface for discovering services."
Add_dependency run avahi
Add_dependency run python
Add_dependency run avahi-python
Add_dependency run dbus-python
Add_dependency run pygtk
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/share/man/man1
mkdir -p ${DESTDIR}/usr/share/applications
mkdir -p ${DESTDIR}/usr/share/avahi/interfaces
mkdir -p ${DESTDIR}/usr/lib/python2.6/site-packages
mv ${SRCPKGDESTDIR}/usr/bin/avahi-discover ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/share/man/man1/avahi-discover* \
${DESTDIR}/usr/share/man/man1
mv ${SRCPKGDESTDIR}/usr/share/applications/avahi-discover.desktop \
${DESTDIR}/usr/share/applications
mv ${SRCPKGDESTDIR}/usr/share/avahi/interfaces/avahi-discover.glade \
${DESTDIR}/usr/share/avahi/interfaces
mv ${SRCPKGDESTDIR}/usr/lib/python2.6/site-packages/avahi_discover \
${DESTDIR}/usr/lib/python2.6/site-packages
}