summaryrefslogtreecommitdiffstats
path: root/package/orc/orc.mk
blob: 9d9921a26bcc5e8c017e2a2d674d16b0dab9dcc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# orc
#
################################################################################

ORC_VERSION = 0.4.16
ORC_SITE = http://code.entropywave.com/download/orc/
ORC_LICENSE = BSD-2c, BSD-3c
ORC_LICENSE_FILES = COPYING
ORC_INSTALL_STAGING = YES
ORC_DEPENDENCIES = host-orc

define ORC_REMOVE_BUGREPORT
	rm -f $(TARGET_DIR)/usr/bin/orc-bugreport
endef

define ORC_REMOVE_DEVFILES
	rm -f $(TARGET_DIR)/usr/bin/orcc
endef

ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_BUGREPORT

ifneq ($(BR2_HAVE_DEVFILES),y)
ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_DEVFILES
endif

$(eval $(autotools-package))
$(eval $(host-autotools-package))