summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb')
-rw-r--r--meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
new file mode 100644
index 000000000..e891868cd
--- /dev/null
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
@@ -0,0 +1,38 @@
1SUMMARY = "A text-based user interface plugin of dnf for user to manage packages. "
2LICENSE = "GPLv2"
3
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
7SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
8PV = "1.0"
9
10SRC_URI_append_class-target = "file://oe-remote.repo.sample"
11
12inherit distutils3-base
13
14S = "${WORKDIR}/git"
15
16do_install_append() {
17 install -d ${D}${datadir}/dnf
18 install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
19 install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
20 install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
21 for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
22 install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
23 done
24}
25
26do_install_append_class-target() {
27 install -d ${D}${sysconfdir}/yum.repos.d
28 install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
29}
30
31FILES_${PN} += "${datadir}/dnf"
32
33RDEPENDS_${PN} += " \
34 dnf \
35 libnewt-python \
36 "
37
38BBCLASSEXTEND = "nativesdk"