summaryrefslogtreecommitdiff
path: root/recipes/python/python-pyzeroconf_0.12.bb
blob: 4a8a9b018e311420e0712dd1c4e4be3298abbf83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "A pure Python implementation of Zeroconf"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/pyzeroconf/pyzeroconf-${PV}.tgz"
S = "${WORKDIR}/pyzeroconf-${PV}"

inherit distutils-base

do_install() {
   install -d ${D}${libdir}
   install -d ${D}${libdir}/${PYTHON_DIR}
   install -d ${D}${libdir}/${PYTHON_DIR}/site-packages

   install -m 0644 Zeroconf.py ${D}${libdir}/${PYTHON_DIR}/site-packages/
}