-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch adds chan_capi for asterisk14 to the feeds repo.
Index: chan_capi/Makefile =================================================================== - --- chan_capi/Makefile (revision 0) +++ chan_capi/Makefile (revision 0) @@ -0,0 +1,73 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 9396 2007-10-21 15:59:31Z blogic $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=chan_capi +PKG_VERSION:=1.1.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=chan_capi-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=ftp://ftp.chan-capi.org/chan-capi/ +PKG_MD5SUM:=b9c6eac29de91583394be295ed7da537 + +include $(INCLUDE_DIR)/package.mk + +define Package/chan_capi/Default + SUBMENU:=chan_capi + SECTION=:net + CATEGORY:=Network +endef + +define Package/chan_capi/Default/description + A channel driver for asterisk. +endef + +define Package/asterisk14-chan-capi + $(call Package/chan_capi/Default) + TITLE:=CAPI Channel driver for asteris. +endef + +#define Package/libcapi-remote +# $(call Package/chan_capi/Default) +# TITLE:=CAPI Library for remote capi +#endef + +define Package/asterisk14-chan-capi/description + $(call Package/chan_capi/Default/description) +endef + +#define Package/libcapi-remote/description +# CAPI Library for remote capi +#endef + +define Build/Compile + $(MAKE_VARS) \ + $(MAKE) -C "$(PKG_BUILD_DIR)" \ + $(MAKE_ARGS) \ + CC="$(TARGET_CC)" \ + ASTERISK_HEADER_DIR=$(STAGING_DIR)/usr/include \ + USE_OWN_LIBCAPI=no \ + V=1 \ + LIBLINUX="-L$(STAGING_DIR)/usr/lib -lcapi20" \ + all +endef + + +define Package/asterisk14-chan-capi/install + $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules + $(INSTALL_BIN) $(PKG_BUILD_DIR)/chan_capi.so $(1)/usr/lib/asterisk/modules +endef + +#define Package/libcapi-remote/install +# : +#endef + +$(eval $(call BuildPackage,asterisk14-chan-capi)) +#$(eval $(call BuildPackage,libcapi-remote)) + - -- Joerg Jungermann - ------------------------------------------------------------ Rechnerbetrieb Mathematik | Zustaendig fuer: Universitaet-Paderborn - Fakultaet 5 | Linux, Web -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKurXsta551Pt/1URArgbAJ93OmjaOF4V85mOa4qqH8ruPlcNLwCgg2w3 H58Fqzu3ca7w80JpVQI3NmM= =UpEP -----END PGP SIGNATURE----- _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
