update netatalk to 2.1beta1 (#6686)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 20 Feb 2010 11:43:34 +0000 (11:43 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 20 Feb 2010 11:43:34 +0000 (11:43 +0000)
SVN-Revision: 19776

net/netatalk/Makefile

index a143b2204724bbb5fd8b541f6c2d821ad9363b98..7c6dc09954484316a5a06c7a6231b538721483b9 100644 (file)
@@ -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/