2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2002-11-18 23:12:38 +01:00
|
|
|
#
|
|
|
|
# boa
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2010-09-26 21:11:32 +02:00
|
|
|
BOA_VERSION = 0.94.14rc21
|
|
|
|
BOA_SOURCE = boa-$(BOA_VERSION).tar.gz
|
|
|
|
BOA_SITE = http://www.boa.org/
|
|
|
|
|
|
|
|
define BOA_INSTALL_TARGET_CMDS
|
|
|
|
install -D -m 755 $(@D)/src/boa $(TARGET_DIR)/usr/sbin/boa
|
|
|
|
install -D -m 755 $(@D)/src/boa_indexer $(TARGET_DIR)/usr/lib/boa/boa_indexer
|
|
|
|
install -D -m 644 package/boa/boa.conf $(TARGET_DIR)/etc/boa/boa.conf
|
|
|
|
install -D -m 644 package/boa/mime.types $(TARGET_DIR)/etc/mime.types
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BOA_UNINSTALL_STAGING_CMDS
|
|
|
|
# autotools calls uninstall-staging even if staging install
|
|
|
|
# isn't enabled
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BOA_UNINSTALL_TARGET_CMDS
|
2008-03-27 16:42:42 +01:00
|
|
|
rm -rf $(TARGET_DIR)/usr/sbin/boa \
|
2010-09-26 21:11:32 +02:00
|
|
|
$(TARGET_DIR)/usr/lib/boa/ \
|
2008-03-27 16:42:42 +01:00
|
|
|
$(TARGET_DIR)/etc/mime.types $(TARGET_DIR)/etc/boa
|
2010-09-26 21:11:32 +02:00
|
|
|
endef
|
2001-12-22 01:56:11 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|