1*4882a593Smuzhiyun# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com> 2*4882a593Smuzhiyun# Released under the MIT license (see COPYING.MIT for the terms) 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSUMMARY = "Linux kernel style configuration framework for other projects" 5*4882a593SmuzhiyunDESCRIPTION = "The kconfig-frontends project aims at centralising \ 6*4882a593Smuzhiyunthe effort of keeping an up-to-date, out-of-tree, packaging of the \ 7*4882a593Smuzhiyunkconfig infrastructure, ready for use by third-party projects. \ 8*4882a593SmuzhiyunThe kconfig-frontends package provides the kconfig parser, as well as all \ 9*4882a593Smuzhiyunthe frontends" 10*4882a593SmuzhiyunHOMEPAGE = "https://gitlab.com/ymorin/kconfig-frontends" 11*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 12*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408" 13*4882a593SmuzhiyunSECTION = "devel" 14*4882a593SmuzhiyunDEPENDS += "ncurses flex-native gperf-native bison-native" 15*4882a593SmuzhiyunRDEPENDS:${PN} += "python3 bash" 16*4882a593SmuzhiyunSRC_URI = "git://gitlab.com/ymorin/kconfig-frontends.git;protocol=https;branch=4.11.x \ 17*4882a593Smuzhiyun file://0001-Makefile-ensure-frontends-exits-before-writing-into-.patch \ 18*4882a593Smuzhiyun file://0001-Switch-utils-kconfig-diff-to-use-Python-3.patch" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunSRCREV = "f22fce3a308be1c7790ebefc6bbedb33c5f7c86a" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunS = "${WORKDIR}/git" 23*4882a593Smuzhiyun 24*4882a593Smuzhiyuninherit autotools pkgconfig 25*4882a593Smuzhiyundo_configure:prepend () { 26*4882a593Smuzhiyun mkdir -p ${S}/scripts/.autostuff/m4 27*4882a593Smuzhiyun} 28*4882a593Smuzhiyun 29*4882a593Smuzhiyundo_install:append() { 30*4882a593Smuzhiyun ln -s kconfig-conf ${D}${bindir}/conf 31*4882a593Smuzhiyun ln -s kconfig-mconf ${D}${bindir}/mconf 32*4882a593Smuzhiyun} 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunEXTRA_OECONF += "--disable-gconf --disable-qconf" 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun# Some packages have the version preceeding the .so instead properly 37*4882a593Smuzhiyun# versioned .so.<version>, so we need to reorder and repackage. 38*4882a593SmuzhiyunSOLIBS = "-${@d.getVar('PV')[:-2]}.so" 39*4882a593SmuzhiyunFILES_SOLIBSDEV = "${libdir}/libkconfig-parser.so" 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunBBCLASSEXTEND = "native" 42