2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-26 09:41:47 +02:00
|
|
|
#
|
|
|
|
# netatalk
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-03-10 21:26:28 +01:00
|
|
|
NETATALK_VERSION = 3.0.8
|
2012-10-01 08:23:36 +02:00
|
|
|
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
|
2013-05-10 08:29:32 +02:00
|
|
|
NETATALK_CONFIG_SCRIPTS = netatalk-config
|
2013-08-30 23:59:56 +02:00
|
|
|
NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error \
|
|
|
|
libevent
|
2013-10-08 21:02:31 +02:00
|
|
|
NETATALK_LICENSE = GPLv2+, LGPLv3+, MIT-like
|
|
|
|
NETATALK_LICENSE_FILES = COPYING COPYRIGHT
|
2012-12-17 12:48:11 +01:00
|
|
|
|
2013-08-30 23:59:56 +02:00
|
|
|
# Don't run ldconfig!
|
|
|
|
NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" \
|
|
|
|
ac_cv_path_NETA_LDCONFIG=""
|
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 \
|
2013-08-30 23:59:56 +02:00
|
|
|
--without-pam \
|
2013-10-05 15:52:05 +02:00
|
|
|
--with-libevent=no \
|
|
|
|
--with-dtrace=no
|
2012-04-26 09:41:47 +02:00
|
|
|
|
|
|
|
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))
|