[package] update netatalk after r18492.
[openwrt/svn-archive/archive.git] / net / netatalk / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=netatalk
11 PKG_VERSION:=20090920
12 PKG_RELEASE:=1
13 PKG_SOURCE:=netatalk-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://www.flyn.org/SRPMS/
15 PKG_MD5SUM:=99577e66bac6312a8bd5d552ed971f12
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/netatalk
20 SECTION:=net
21 CATEGORY:=Network
22 DEPENDS:=+libdb47 +libgcrypt +libopenssl
23 TITLE:=netatalk
24 URL:=http://netatalk.sourceforge.net
25 endef
26
27 define Package/netatalk/decription
28 Netatalk is an implementation of the AppleTalk protocol suite
29 endef
30
31 define Build/Configure
32 ( cd $(PKG_BUILD_DIR); NOEXECCONFIGURE=1 ./bootstrap )
33 $(call Build/Configure/Default, \
34 --disable-timelord \
35 --disable-a2boot \
36 --disable-cups \
37 --disable-tcp-wrappers \
38 --with-cnid-default-backend=dbd \
39 --with-bdb="$(STAGING_DIR)/usr/" \
40 --with-libgcrypt-dir="$(STAGING_DIR)/usr" \
41 --with-ssl-dir="$(STAGING_DIR)/usr" \
42 )
43 endef
44
45 define Package/netatalk/install
46 $(INSTALL_DIR) $(1)/usr/bin/
47 $(CP) \
48 $(PKG_BUILD_DIR)/etc/afpd/afpd \
49 $(1)/usr/bin/
50 $(CP) \
51 $(PKG_BUILD_DIR)/etc/cnid_dbd/cnid_dbd \
52 $(1)/usr/bin/
53 $(CP) \
54 $(PKG_BUILD_DIR)/etc/cnid_dbd/cnid_metad \
55 $(1)/usr/bin/
56 $(CP) \
57 $(PKG_BUILD_DIR)/etc/cnid_dbd/dbd \
58 $(1)/usr/bin/
59 endef
60
61 $(eval $(call BuildPackage,netatalk))