From 77f9f3808259bb6dba35026c4ddebf29c04f37c1 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 20 Feb 2010 11:43:34 +0000 Subject: [PATCH] [package] update netatalk to 2.1beta1 (#6686) SVN-Revision: 19776 --- net/netatalk/Makefile | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index a143b22047..7c6dc09954 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netatalk -PKG_VERSION:=20090920 -PKG_RELEASE:=2 +PKG_VERSION:=2.1beta1 +PKG_RELEASE:=1 PKG_SOURCE:=netatalk-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.flyn.org/SRPMS/ -PKG_MD5SUM:=99577e66bac6312a8bd5d552ed971f12 +PKG_SOURCE_URL:=@SF/netatalk +PKG_MD5SUM:=86be058b18270e9df4699a1f393846b0 PKG_FIXUP:=libtool @@ -31,19 +31,18 @@ define Package/netatalk/decription Netatalk is an implementation of the AppleTalk protocol suite endef -define Build/Configure - ( cd $(PKG_BUILD_DIR); NOEXECCONFIGURE=1 ./bootstrap ) - $(call Build/Configure/Default, \ - --disable-timelord \ - --disable-a2boot \ - --disable-cups \ - --disable-tcp-wrappers \ - --with-cnid-default-backend=dbd \ - --with-bdb="$(STAGING_DIR)/usr/" \ - --with-libgcrypt-dir="$(STAGING_DIR)/usr" \ - --with-ssl-dir="$(STAGING_DIR)/usr" \ - ) -endef +CONFIGURE_VARS += \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -Drestrict='' -DNO_DEBUG " + +CONFIGURE_ARGS += \ + --disable-timelord \ + --disable-a2boot \ + --disable-cups \ + --disable-tcp-wrappers \ + --with-cnid-default-backend=dbd \ + --with-bdb="$(STAGING_DIR)/usr/" \ + --with-libgcrypt-dir="$(STAGING_DIR)/usr" \ + --with-ssl-dir="$(STAGING_DIR)/usr" define Package/netatalk/install $(INSTALL_DIR) $(1)/usr/bin/ -- 2.30.2