2020-09-29 19:20:27 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
|
|
PKG_NAME="dbussy"
|
2022-02-24 09:26:39 +00:00
|
|
|
PKG_VERSION="60d3c155d07ce11bdf89a201ae0026525ac65aca" # 2022-01-28
|
|
|
|
|
PKG_SHA256="0e9fd148e2d85404edb801d65236c78c1029edc413cdd40fdd31e4edc2c5647b"
|
2020-09-29 19:20:27 +02:00
|
|
|
PKG_LICENSE="LGPLv2.1+"
|
|
|
|
|
PKG_SITE="https://gitlab.com/ldo/dbussy"
|
2021-12-04 15:30:41 +01:00
|
|
|
PKG_URL="https://github.com/ldo/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
2020-09-29 19:20:27 +02:00
|
|
|
PKG_DEPENDS_TARGET="toolchain Python3 dbus"
|
|
|
|
|
PKG_LONGDESC="DBussy is a wrapper around libdbus, written in pure Python"
|
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
|
|
make_target() {
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2021-01-19 19:34:13 +00:00
|
|
|
python3 setup.py install --root=${INSTALL} --prefix=/usr
|
2020-09-29 19:20:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
|
|
|
|
python_remove_source
|
|
|
|
|
}
|