avoid installing asterisk 1.6.x header files in staging dirs since they conflict...
authorHans Zandbelt <hans.zandbelt@gmail.com>
Sun, 1 Feb 2009 16:43:09 +0000 (16:43 +0000)
committerHans Zandbelt <hans.zandbelt@gmail.com>
Sun, 1 Feb 2009 16:43:09 +0000 (16:43 +0000)
SVN-Revision: 14343

net/asterisk-1.6.x/Makefile

index 7c976e5a102343a35dedac322e94213dd5a0d8f1..9adf71661a7e31df671dfa6650c2ac52bcce64ac 100644 (file)
@@ -57,7 +57,7 @@ endef
 define Package/asterisk16
 $(call Package/asterisk16/Default)
   TITLE:=Complete open source PBX
-  DEPENDS:= +libncurses +libpopt +libpthread +zlib @!TARGET_avr32
+  DEPENDS:= +libncurses +libpopt +libpthread +zlib @!TARGET_avr32 @!PACKAGE_asterisk14
 endef
 
 define Package/asterisk16/description
@@ -162,11 +162,11 @@ define Build/Compile
        $(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf
 endef
 
-define Build/InstallDev
-       mkdir -p $(1)/usr/include/asterisk/
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk/
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/
-endef
+#define Build/InstallDev
+#      mkdir -p $(1)/usr/include/asterisk/
+#      $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk/
+#      $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/
+#endef
 
 define Package/asterisk16/conffiles
 /etc/asterisk/asterisk.conf