# Distributed under the terms of the GNU General Public License v2 # Copyright 2019 Gluzskiy Alexandr require github [ user=open-iscsi tag=v${PV} ] systemd-service require setup-py [ import=distutils multibuild=false ] export_exlib_phases src_install SUMMARY="A command shell for managing the Linux LIO kernel target" SLOT="0" LICENCES="Apache-2.0" DEPENDENCIES=" run: dev-python/configshell-fb dev-python/pyudev dev-python/rtslib-fb dev-python/urwid " targetcli-fb_src_install () { setup-py_src_install edo mkdir -p "${IMAGE}/${SYSTEMDSYSTEMUNITDIR}/" edo mv "${IMAGE}"/lib/systemd/system/targetclid.service "${IMAGE}"/lib/systemd/system/targetclid.socket "${IMAGE}/${SYSTEMDSYSTEMUNITDIR}"/ edo rm -rf "${IMAGE}"/lib doman "${WORK}"/targetcli.8 doman "${WORK}"/targetclid.8 }