python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / netatalk / netatalk.mk
blobdbe13a9404b497a731a7171f01aec6eb350cf126
1 ################################################################################
3 # netatalk
5 ################################################################################
7 NETATALK_VERSION = 3.1.8
8 NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)
9 NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
10 # For 0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch
11 NETATALK_AUTORECONF = YES
12 NETATALK_CONFIG_SCRIPTS = netatalk-config
13 NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error \
14 libevent
15 NETATALK_LICENSE = GPLv2+, LGPLv3+, MIT-like
16 NETATALK_LICENSE_FILES = COPYING COPYRIGHT
18 # Don't run ldconfig!
19 NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" \
20 ac_cv_path_NETA_LDCONFIG=""
21 NETATALK_CONF_OPTS += \
22 --with-cnid-cdb-backend \
23 --with-bdb=$(STAGING_DIR)/usr \
24 --with-ssl-dir=$(STAGING_DIR)/usr \
25 --with-libgcrypt-dir=$(STAGING_DIR)/usr \
26 --with-shadow \
27 --disable-shell-check \
28 --without-kerberos \
29 --without-pam \
30 --with-libevent=no \
31 --with-dtrace=no \
32 --with-mysql-config=no
34 ifeq ($(BR2_PACKAGE_ACL),y)
35 NETATALK_DEPENDENCIES += acl
36 else
37 NETATALK_CONF_OPTS += --with-acls=no
38 endif
40 ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
41 NETATALK_DEPENDENCIES += avahi
42 NETATALK_CONF_OPTS += --enable-zeroconf=$(STAGING_DIR)/usr
43 else
44 NETATALK_CONF_OPTS += --disable-zeroconf
45 endif
47 ifeq ($(BR2_PACKAGE_CUPS),y)
48 NETATALK_DEPENDENCIES += cups
49 NETATALK_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config
50 NETATALK_CONF_OPTS += --enable-cups
51 else
52 NETATALK_CONF_OPTS += --disable-cups
53 endif
55 define NETATALK_INSTALL_INIT_SYSV
56 $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
57 $(TARGET_DIR)/etc/init.d/S50netatalk
58 endef
60 $(eval $(autotools-package))