[package] uci: use latest git, fixes reorder operation and incorperates nested delete...
[openwrt.git] / package / tapi_sip / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=tapi_sip
9 PKG_RELEASE:=1
10
11 include $(INCLUDE_DIR)/package.mk
12
13 define Package/tapi_sip
14 SECTION:=utils
15 CATEGORY:=Utilities
16 TITLE:=tapi_sip
17 DEPENDS:=+libuci +libtapi +pjsip +kmod-lqtapi
18 endef
19
20 define Build/Prepare
21 mkdir -p $(PKG_BUILD_DIR)
22 $(CP) ./src/* $(PKG_BUILD_DIR)/
23 endef
24
25 define Build/Compile
26 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
27 LDFLAGS="$(TARGET_LDFLAGS)" \
28 $(MAKE) -C $(PKG_BUILD_DIR) \
29 $(TARGET_CONFIGURE_OPTS)
30 endef
31
32 define Package/tapi_sip/install
33 $(INSTALL_DIR) $(1)/usr/bin
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tapi-sip $(1)/usr/bin/
35
36 $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d
37 $(INSTALL_DATA) ./files/telephony.conf $(1)/etc/config/telephony
38 $(INSTALL_BIN) ./files/telephony.init $(1)/etc/init.d/telephony
39 endef
40
41 $(eval $(call BuildPackage,tapi_sip))
This page took 0.053522 seconds and 5 git commands to generate.