source: trunk/package/mountd/Makefile @ 23474

Last change on this file since 23474 was 23474, checked in by acinonyx, 6 years ago

[package] mountd: Rename uci_add_history to uci_add_delta (#8084)

File size: 1.1 KB
Line 
1# Copyright (C) 2009-2010 OpenWrt.org
2# All rights reserved.
3
4include $(TOPDIR)/rules.mk
5
6PKG_NAME:=mountd
7PKG_VERSION:=0.1
8PKG_RELEASE:=3
9
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
12PKG_MD5SUM:=b77253ee4321d24d200fffc4f7ca3d15
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/mountd
17  SECTION:=utils
18  CATEGORY:=Utilities
19  TITLE:=OpenWrt automount daemon
20  DEPENDS:=@USB_SUPPORT +uci +kmod-usb-storage +kmod-fs-autofs4
21  URL:=http://www.openwrt.org
22endef
23
24define Package/mountd/description
25  openwrt automount daemon
26endef
27
28define Package/mountd/conffiles
29/etc/config/mountd
30endef
31
32define Build/Compile
33        $(TARGET_CONFIGURE_OPTS) \
34                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(PKG_BUILD_DIR)" \
35                LDFLAGS="$(TARGET_LDFLAGS)" \
36                $(MAKE) -C $(PKG_BUILD_DIR)
37endef
38
39define Package/mountd/install
40        $(INSTALL_DIR) $(1)/sbin/ $(1)/etc/config/ $(1)/etc/init.d/
41        $(INSTALL_BIN) $(PKG_BUILD_DIR)/mountd $(1)/sbin/
42        $(INSTALL_DATA) ./files/mountd.config $(1)/etc/config/mountd
43        $(INSTALL_BIN) ./files/mountd.init $(1)/etc/init.d/mountd
44endef
45
46$(eval $(call BuildPackage,mountd))
Note: See TracBrowser for help on using the repository browser.