2012-04-26 09:41:47 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# netatalk
|
|
|
|
#
|
|
|
|
#############################################################
|
2012-10-01 08:23:36 +02:00
|
|
|
NETATALK_VERSION = 3.0
|
|
|
|
NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)
|
2012-04-26 09:41:47 +02:00
|
|
|
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
|
|
|
|
|
2012-12-17 12:48:11 +01:00
|
|
|
NETATALK_AUTORECONF = YES
|
|
|
|
|
2012-11-08 13:04:29 +01:00
|
|
|
NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error
|
2012-12-17 12:48:11 +01:00
|
|
|
NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99"
|
2012-04-26 09:41:47 +02:00
|
|
|
NETATALK_CONF_OPT += --with-cnid-cdb-backend \
|
|
|
|
--with-bdb=$(STAGING_DIR)/usr \
|
|
|
|
--disable-zeroconf \
|
|
|
|
--with-ssl-dir=$(STAGING_DIR)/usr \
|
|
|
|
--with-libgcrypt-dir=$(STAGING_DIR)/usr \
|
|
|
|
--with-shadow \
|
|
|
|
--disable-shell-check \
|
2012-10-01 08:23:36 +02:00
|
|
|
--without-kerberos \
|
2012-04-26 09:41:47 +02:00
|
|
|
--without-pam
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
|
|
|
NETATALK_DEPENDENCIES += cups
|
2012-04-30 21:59:05 +02:00
|
|
|
NETATALK_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config
|
2012-04-26 09:41:47 +02:00
|
|
|
NETATALK_CONF_OPT += --enable-cups
|
|
|
|
else
|
|
|
|
NETATALK_CONF_OPT += --disable-cups
|
|
|
|
endif
|
|
|
|
|
|
|
|
define NETATALK_INSTALL_EXTRA_FILES
|
|
|
|
[ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \
|
|
|
|
$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S50netatalk
|
|
|
|
endef
|
|
|
|
|
|
|
|
NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|