From 1415b505bbab91661b06117e576213806287d209 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 8 Oct 2006 23:03:11 +0000 Subject: [PATCH] add dependency on uclibc++, use Build/Configure/Default macro, remove dupe description SVN-Revision: 4974 --- libs/openh323/Makefile | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) diff --git a/libs/openh323/Makefile b/libs/openh323/Makefile index 853d321a8..d6700bafa 100644 --- a/libs/openh323/Makefile +++ b/libs/openh323/Makefile @@ -24,44 +24,19 @@ include $(INCLUDE_DIR)/package.mk define Package/libopenh323 SECTION:=libs CATEGORY:=Libraries - DEPENDS:=+pwlib + DEPENDS:=+pwlib +uclibcxx TITLE:=OpenH323 library - DESCRIPTION:=OpenH323 library. URL:=http://www.openh323.org/ endef define Build/Configure - ( cd $(PKG_BUILD_DIR); rm -f config.cache; \ - CFLAGS="$(TARGET_CFLAGS)" \ + $(call Build/Configure/Default, \ + --enable-minsize \ + --enable-audio \ + --disable-video \ + , \ 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 define Build/Compile @@ -79,4 +54,3 @@ define Build/UninstallDev endef $(eval $(call BuildPackage,libopenh323)) - -- 2.30.2