replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -52,11 +52,11 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/l2tpns/install
|
||||
install -d -m0755 $(1)/etc/l2tpns
|
||||
$(INSTALL_DIR) $(1)/etc/l2tpns
|
||||
$(CP) $(PKG_INSTALL_DIR)/etc/l2tpns/* $(1)/etc/l2tpns/
|
||||
install -d -m0755 $(1)/usr/lib/l2tpns
|
||||
$(INSTALL_DIR) $(1)/usr/lib/l2tpns
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tpns/* $(1)/usr/lib/l2tpns/
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
|
Reference in New Issue
Block a user