ar71xx: select vsc73x5 microcode in the AP83/PB44 profiles
[openwrt.git] / package / mountd / Makefile
1 # Copyright (C) 2009 OpenWrt.org
2 # All rights reserved.
3
4 include $(TOPDIR)/rules.mk
5
6 PKG_NAME:=mountd
7 PKG_VERSION:=0.1
8 PKG_RELEASE:=1
9
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
12 PKG_MD5SUM:=b77253ee4321d24d200fffc4f7ca3d15
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/mountd
17 SECTION:=utils
18 CATEGORY:=Utilities
19 TITLE:=OpenWrt automount daemon
20 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +uci +kmod-usb-storage +kmod-fs-autofs4
21 URL:=http://www.openwrt.org
22 endef
23
24 define Package/mountd/description
25 openwrt automount daemon
26 endef
27
28 define Build/Compile
29 $(TARGET_CONFIGURE_OPTS) \
30 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(PKG_BUILD_DIR)" \
31 LDFLAGS="$(TARGET_LDFLAGS)" \
32 $(MAKE) -C $(PKG_BUILD_DIR)
33 endef
34
35 define Package/mountd/install
36 $(INSTALL_DIR) $(1)/sbin/ $(1)/etc/config/ $(1)/etc/init.d/
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mountd $(1)/sbin/
38 $(INSTALL_BIN) ./files/mountd.config $(1)/etc/config/mountd
39 $(INSTALL_DATA) ./files/mountd.init $(1)/etc/init.d/mountd
40 endef
41
42 $(eval $(call BuildPackage,mountd))
43
This page took 0.046194 seconds and 5 git commands to generate.