kumquat-buildroot/package/libedit/libedit.mk
Yann E. MORIN dc2a13a2aa package/libedit: switch to alternate URL for proper packaging
Upstream libedit does not have a proper homepage, and does not provide
any sort of packaging whatsoever. So far, we used Debian's wayback
machine to get a tarball of a rather oldish libedit.

As Thomas pointed out, someone has been maintaining a proper autotools
based, up-to-date package for a while.

While Debian is stuck to 2.11 (5 years old now), we bump to 3.1 as a bonus.

Remove our libedit.pc, it's now bundled with the package.

Reported-by: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-30 23:26:02 +02:00

30 lines
885 B
Makefile

################################################################################
#
# libedit
#
################################################################################
LIBEDIT_VERSION = 20130712-3.1
LIBEDIT_SITE = http://www.thrysoee.dk/editline/
LIBEDIT_INSTALL_STAGING = YES
LIBEDIT_DEPENDENCIES = ncurses
# We're patching configure.ac
LIBEDIT_AUTORECONF = YES
# Note: libbsd required for *vis functions, but works only with a toolchain
# with __progname; otherwise, some features are disabled, as if libbsd was
# missing entirely.
ifeq ($(BR2_PACKAGE_LIBBSD),y)
LIBEDIT_DEPENDENCIES += libbsd
endif
# Wide-char support is not autodetected by configure, we have to help a bit.
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_WCHAR),y)
LIBEDIT_CONF_OPT += --enable-widec
else
LIBEDIT_CONF_OPT += --disable-widec
endif
$(eval $(autotools-package))