Changeset 22755


Ignore:
Timestamp:
2010-08-22T07:06:49+02:00 (6 years ago)
Author:
cshore
Message:

[packages] net/freeswitch: Re-added per-package module configurartion (currently only voicemail uses it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r22617 r22755  
    1010PKG_NAME:=freeswitch 
    1111PKG_VERSION:=1.0.6 
    12 PKG_RELEASE:=7 
     12PKG_RELEASE:=8 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    468468                        $$(1)/usr/lib/freeswitch/ ; \ 
    469469        done 
     470        if [ -d "./files/etc.packages/$(1)" ]; then \ 
     471                $(INSTALL_DIR) $$(1)/etc/freeswitch ; \ 
     472                $(CP) \ 
     473                        ./files/etc.packages/$(1)/* \ 
     474                        $$(1)/etc/freeswitch/ ; \ 
     475        fi 
     476  endef 
     477 
     478  define Package/freeswitch-mod-$(1)/postinst 
     479#!/bin/sh 
     480sed -i -e 's|^\([ \t]*\)<!-- *\(.*\)"mod_$(1)"\(.*\) *-->\(.*\)$$$$|\1\2"mod_$(1)"\3\4|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
     481  endef 
     482 
     483  define Package/freeswitch-mod-$(1)/postrm 
     484#!/bin/sh 
     485sed -i -e 's|^\([ \t]*\)\(.*\)"mod_$(1)"\(.*\)$$$$|\1<!-- \2"mod_$(1)"\3 -->|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
    470486  endef 
    471487 
Note: See TracChangeset for help on using the changeset viewer.