mg: add recipe for version 20110905

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
This commit is contained in:
Mario Domenech Goulart 2013-02-06 10:52:30 +00:00 committed by Eric Bénard
parent 5473ff354a
commit e5ccd2b816

View File

@ -0,0 +1,20 @@
DESCRIPTION = "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"
SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e"
SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229"
do_configure () {
sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},'
./configure
}
do_install () {
oe_runmake install DESTDIR=${D}
}