[packages] Add missing libtool fixups
[openwrt/svn-archive/archive.git] / net / netatalk / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=2
13
14 PKG_SOURCE:=netatalk-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.flyn.org/SRPMS/
16 PKG_MD5SUM:=99577e66bac6312a8bd5d552ed971f12
17
18 PKG_FIXUP:=libtool
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/netatalk
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libdb47 +libgcrypt +libopenssl
26 TITLE:=netatalk
27 URL:=http://netatalk.sourceforge.net
28 endef
29
30 define Package/netatalk/decription
31 Netatalk is an implementation of the AppleTalk protocol suite
32 endef
33
34 define Build/Configure
35 ( cd $(PKG_BUILD_DIR); NOEXECCONFIGURE=1 ./bootstrap )
36 $(call Build/Configure/Default, \
37 --disable-timelord \
38 --disable-a2boot \
39 --disable-cups \
40 --disable-tcp-wrappers \
41 --with-cnid-default-backend=dbd \
42 --with-bdb="$(STAGING_DIR)/usr/" \
43 --with-libgcrypt-dir="$(STAGING_DIR)/usr" \
44 --with-ssl-dir="$(STAGING_DIR)/usr" \
45 )
46 endef
47
48 define Package/netatalk/install
49 $(INSTALL_DIR) $(1)/usr/bin/
50 $(CP) \
51 $(PKG_BUILD_DIR)/etc/afpd/afpd \
52 $(1)/usr/bin/
53 $(CP) \
54 $(PKG_BUILD_DIR)/etc/cnid_dbd/cnid_dbd \
55 $(1)/usr/bin/
56 $(CP) \
57 $(PKG_BUILD_DIR)/etc/cnid_dbd/cnid_metad \
58 $(1)/usr/bin/
59 $(CP) \
60 $(PKG_BUILD_DIR)/etc/cnid_dbd/dbd \
61 $(1)/usr/bin/
62 endef
63
64 $(eval $(call BuildPackage,netatalk))