add dependency on uclibc++, use Build/Configure/Default macro, remove dupe description
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4974 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f3b8a14a0f
commit
0c8608541e
@ -24,44 +24,19 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/libopenh323
|
define Package/libopenh323
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+pwlib
|
DEPENDS:=+pwlib +uclibcxx
|
||||||
TITLE:=OpenH323 library
|
TITLE:=OpenH323 library
|
||||||
DESCRIPTION:=OpenH323 library.
|
|
||||||
URL:=http://www.openh323.org/
|
URL:=http://www.openh323.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
( cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
$(call Build/Configure/Default, \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
--enable-minsize \
|
||||||
|
--enable-audio \
|
||||||
|
--disable-video \
|
||||||
|
, \
|
||||||
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
|
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
)
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
./configure \
|
|
||||||
--target=$(GNU_TARGET_NAME) \
|
|
||||||
--host=$(GNU_TARGET_NAME) \
|
|
||||||
--build=$(GNU_HOST_NAME) \
|
|
||||||
--program-prefix="" \
|
|
||||||
--program-suffix="" \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--bindir=/usr/bin \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--includedir=/usr/include \
|
|
||||||
--infodir=/usr/share/info \
|
|
||||||
--libdir=/usr/lib \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
$(DISABLE_LARGEFILE) \
|
|
||||||
$(DISABLE_NLS) \
|
|
||||||
\
|
|
||||||
--enable-minsize \
|
|
||||||
--enable-audio \
|
|
||||||
--disable-video \
|
|
||||||
);
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
@ -79,4 +54,3 @@ define Build/UninstallDev
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libopenh323))
|
$(eval $(call BuildPackage,libopenh323))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user