2012-06-20 21:31:10 +00:00
|
|
|
# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
|
|
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
|
|
|
|
DESCRIPTION = "The kconfig-frontends project aims at centralising \
|
|
|
|
the effort of keeping an up-to-date, out-of-tree, packaging of the \
|
|
|
|
kconfig infrastructure, ready for use by third-party projects. \
|
|
|
|
The kconfig-frontends package provides the kconfig parser, as well as all \
|
|
|
|
the frontends"
|
|
|
|
HOMEPAGE = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"
|
|
|
|
LICENSE = "GPL-2.0"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
|
|
|
|
SECTION = "devel"
|
2013-02-14 12:24:30 +00:00
|
|
|
DEPENDS += "ncurses flex bison gperf pkgconfig-native"
|
2013-07-09 00:24:29 +00:00
|
|
|
SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BP}.tar.xz"
|
2012-11-14 05:32:47 +00:00
|
|
|
|
2013-10-07 18:26:08 +00:00
|
|
|
SRC_URI[md5sum] = "b6bd173a39cc32f5e4a580fb1db2e677"
|
|
|
|
SRC_URI[sha256sum] = "f4bbd7a2727bef3bb0693b37756457c47f2a08e1ed534cb11e4c8640489e6c8e"
|
2012-06-20 21:31:10 +00:00
|
|
|
|
2013-07-09 00:24:29 +00:00
|
|
|
S = "${WORKDIR}/${BPN}-${PV}"
|
2012-06-20 21:31:10 +00:00
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
do_configure_prepend () {
|
|
|
|
mkdir -p scripts/.autostuff/m4
|
|
|
|
}
|
2012-09-06 22:20:36 +00:00
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
ln -s kconfig-conf ${D}${bindir}/conf
|
|
|
|
ln -s kconfig-mconf ${D}${bindir}/mconf
|
|
|
|
}
|
|
|
|
|
2012-06-20 21:31:10 +00:00
|
|
|
EXTRA_OECONF += "--disable-gconf --disable-qconf"
|
|
|
|
|
|
|
|
# Some packages have the version preceeding the .so instead properly
|
|
|
|
# versioned .so.<version>, so we need to reorder and repackage.
|
2013-07-09 00:24:29 +00:00
|
|
|
SOLIBS = "-${@d.getVar('PV',1)[:-2]}.so"
|
2012-06-20 21:31:10 +00:00
|
|
|
FILES_SOLIBSDEV = "${libdir}/libkconfig-parser.so"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|