2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
11 include $(INCLUDE_DIR
)/package.mk
13 define Package
/tapi_sip
17 DEPENDS
:=+libuci
+libtapi
+pjsip
+kmod-lqtapi
21 mkdir
-p
$(PKG_BUILD_DIR
)
22 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
26 CFLAGS
="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
27 LDFLAGS
="$(TARGET_LDFLAGS)" \
28 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 $(TARGET_CONFIGURE_OPTS
)
32 define Package
/tapi_sip
/install
33 $(INSTALL_DIR
) $(1)/usr
/bin
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tapi-sip
$(1)/usr
/bin
/
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
41 $(eval
$(call BuildPackage
,tapi_sip
))
This page took 0.046031 seconds and 5 git commands to generate.