1 ################################################################################
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 \
15 NETATALK_LICENSE
= GPLv2
+, LGPLv3
+, MIT-like
16 NETATALK_LICENSE_FILES
= COPYING COPYRIGHT
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 \
27 --disable-shell-check \
32 --with-mysql-config
=no
34 ifeq ($(BR2_PACKAGE_ACL
),y
)
35 NETATALK_DEPENDENCIES
+= acl
37 NETATALK_CONF_OPTS
+= --with-acls
=no
40 ifeq ($(BR2_PACKAGE_AVAHI_DAEMON
)$(BR2_PACKAGE_DBUS
),yy
)
41 NETATALK_DEPENDENCIES
+= avahi
42 NETATALK_CONF_OPTS
+= --enable-zeroconf
=$(STAGING_DIR
)/usr
44 NETATALK_CONF_OPTS
+= --disable-zeroconf
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
52 NETATALK_CONF_OPTS
+= --disable-cups
55 define NETATALK_INSTALL_INIT_SYSV
56 $(INSTALL
) -m
0755 -D package
/netatalk
/S50netatalk \
57 $(TARGET_DIR
)/etc
/init.d
/S50netatalk
60 $(eval
$(autotools-package
))