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
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/