[package] libtool: remove patches, they don't apply to libltdl
[openwrt.git] / package / pjsip / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=pjsip
5 PKG_VERSION:=1.6
6 PKG_RELEASE:=1
7
8 PKG_SOURCE:=pjproject-$(PKG_VERSION).tar.bz2
9 PKG_SOURCE_URL:=http://www.pjsip.org/release/1.6/
10 #PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
11 PKG_INSTALL:=1
12
13 PKG_BUILD_DIR:=$(BUILD_DIR)/pjproject-$(PKG_VERSION)
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/pjsip
18 SECTION:=lib
19 CATEGORY:=Libraries
20 TITLE:=Voip lib
21 URL:=http://www.pjsip.org/
22 DEPENDS:=+libuuid
23 endef
24
25 CONFIGURE_ARGS += \
26 --disable-sound \
27 --disable-oss \
28 --disable-ext-sound \
29 --disable-speex-aec \
30 --enable-g711-codec \
31 --disable-l16-codec \
32 --disable-gsm-codec \
33 --disable-g722-codec \
34 --disable-g7221-codec \
35 --disable-speex-codec \
36 --disable-ilbc-coder \
37 --disable-libsamplerate \
38 --disable-ipp \
39 --disable-ssl \
40
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)/usr/{include,lib}
43 $(CP) $(PKG_INSTALL_DIR)/usr/include/* \
44 $(1)/usr/include/
45 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
46 $(1)/usr/lib/
47 endef
48
49 define Package/pjsip/install
50 $(INSTALL_DIR) $(1)/usr/sbin
51 endef
52
53 define Build/Compile
54 $(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
55 endef
56
57
58 $(eval $(call BuildPackage,pjsip))
This page took 0.046718 seconds and 5 git commands to generate.