xref: /OK3568_Linux_fs/buildroot/package/joe/joe.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# joe
4#
5################################################################################
6
7JOE_VERSION = 4.6
8JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
9JOE_LICENSE = GPL-2.0+
10JOE_LICENSE_FILES = COPYING
11
12ifeq ($(BR2_PACKAGE_NCURSES),y)
13JOE_DEPENDENCIES += ncurses
14JOE_CONF_OPTS += --enable-curses
15else
16JOE_CONF_OPTS += --disable-curses
17endif
18
19ifneq ($(BR2_PACKAGE_JOE_FULL),y)
20define JOE_INSTALL_TARGET_CMDS
21	$(INSTALL) -m 0755 -D $(@D)/joe/joe $(TARGET_DIR)/usr/bin/joe
22endef
23endif
24
25$(eval $(autotools-package))
26