e86007e0f770be118a2d2a16d900eb67b37a51ef
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / joe / joe.mk
1 ################################################################################
2 #
3 # joe
4 #
5 ################################################################################
6
7 JOE_VERSION = 3.7
8 JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
9 JOE_LICENSE = GPLv1+
10 JOE_LICENSE_FILES = COPYING
11
12 ifeq ($(BR2_PACKAGE_NCURSES),y)
13 JOE_DEPENDENCIES += ncurses
14 JOE_CONF_OPTS += --enable-curses
15 else
16 JOE_CONF_OPTS += --disable-curses
17 endif
18
19 ifneq ($(BR2_PACKAGE_JOE_FULL),y)
20 define JOE_INSTALL_TARGET_CMDS
21         $(INSTALL) -m 0755 -D $(@D)/joe $(TARGET_DIR)/usr/bin/joe
22 endef
23 endif
24
25 $(eval $(autotools-package))