diff options
| -rw-r--r-- | meta-oe/recipes-support/mg/mg_20161005.bb (renamed from meta-oe/recipes-support/mg/mg_20110905.bb) | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/meta-oe/recipes-support/mg/mg_20110905.bb b/meta-oe/recipes-support/mg/mg_20161005.bb index 95aeb62a3b..f9ceb4665c 100644 --- a/meta-oe/recipes-support/mg/mg_20110905.bb +++ b/meta-oe/recipes-support/mg/mg_20161005.bb | |||
| @@ -1,15 +1,13 @@ | |||
| 1 | SUMMARY = "A portable version of the mg maintained by the OpenBSD team" | 1 | SUMMARY = "A portable version of the mg maintained by the OpenBSD team" |
| 2 | HOMEPAGE = "http://homepage.boetes.org/software/mg/" | 2 | HOMEPAGE = "http://homepage.boetes.org/software/mg/" |
| 3 | LICENSE = "PD" | 3 | LICENSE = "PD" |
| 4 | LIC_FILES_CHKSUM = "file://version.c;md5=811e1b67a5cd60c12b218a2b7c1adbf2" | 4 | LIC_FILES_CHKSUM = "file://version.c;md5=1895eb37bf6bd79cdc5c89d8166fabfb" |
| 5 | DEPENDS = "ncurses" | 5 | DEPENDS = "ncurses libbsd" |
| 6 | SECTION = "console/editors" | 6 | SECTION = "console/editors" |
| 7 | 7 | ||
| 8 | SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz \ | 8 | SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz" |
| 9 | file://remove_ncurses_check.patch" | 9 | SRC_URI[md5sum] = "fc6faeeee7308bb46f3512b75867ed51" |
| 10 | 10 | SRC_URI[sha256sum] = "b7fcb5136a6783ca24c8463ab0852fc1f26bdb2bb1c24759b2c51ccfc46c5e61" | |
| 11 | SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e" | ||
| 12 | SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229" | ||
| 13 | 11 | ||
| 14 | # CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?= | 12 | # CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?= |
| 15 | EXTRA_OEMAKE = "\ | 13 | EXTRA_OEMAKE = "\ |
| @@ -21,13 +19,13 @@ EXTRA_OEMAKE = "\ | |||
| 21 | 'libdir=${libdir}' \ | 19 | 'libdir=${libdir}' \ |
| 22 | 'includedir=${includedir}' \ | 20 | 'includedir=${includedir}' \ |
| 23 | 'mandir=${mandir}' \ | 21 | 'mandir=${mandir}' \ |
| 22 | 'PKG_CONFIG=pkg-config' \ | ||
| 24 | " | 23 | " |
| 25 | 24 | ||
| 26 | do_configure () { | 25 | CFLAGS += "-I${STAGING_INCDIR}/bsd" |
| 27 | sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},' | ||
| 28 | ./configure | ||
| 29 | } | ||
| 30 | 26 | ||
| 31 | do_install () { | 27 | do_install () { |
| 32 | oe_runmake install DESTDIR=${D} | 28 | oe_runmake install DESTDIR=${D} |
| 33 | } | 29 | } |
| 30 | |||
| 31 | inherit pkgconfig | ||
