mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
Relying on 'make -e' isn't ideal, as it's less implicit behavior, relies on variable exports, and hides the variables being used from someone reading the recipe. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
34 lines
942 B
BlitzBasic
34 lines
942 B
BlitzBasic
SUMMARY = "A portable version of the mg maintained by the OpenBSD team"
|
|
HOMEPAGE = "http://homepage.boetes.org/software/mg/"
|
|
LICENSE = "PD"
|
|
LIC_FILES_CHKSUM = "file://version.c;md5=811e1b67a5cd60c12b218a2b7c1adbf2"
|
|
DEPENDS = "ncurses"
|
|
SECTION = "console/editors"
|
|
|
|
SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz \
|
|
file://remove_ncurses_check.patch"
|
|
|
|
SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e"
|
|
SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229"
|
|
|
|
# CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?=
|
|
EXTRA_OEMAKE = "\
|
|
'CC=${CC}' \
|
|
'LDFLAGS=${LDFLAGS}' \
|
|
\
|
|
'prefix=${prefix}' \
|
|
'bindir=${bindir}' \
|
|
'libdir=${libdir}' \
|
|
'includedir=${includedir}' \
|
|
'mandir=${mandir}' \
|
|
"
|
|
|
|
do_configure () {
|
|
sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},'
|
|
./configure
|
|
}
|
|
|
|
do_install () {
|
|
oe_runmake install DESTDIR=${D}
|
|
}
|