diff --git a/libs/re/Makefile b/libs/re/Makefile deleted file mode 100644 index dc1a94386..000000000 --- a/libs/re/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# -# Copyright (C) 2010-2013 OpenWrt.org -# Copyright (C) 2010 Alfred E. Heggestad -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=re -PKG_VERSION:=0.4.3 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.creytiv.com/pub -PKG_MD5SUM:=fce784a2de2c0e32c687d8fe47c8245e - -include $(INCLUDE_DIR)/package.mk - -define Package/libre - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libopenssl +libpthread - TITLE:=Generic library for real-time communications with async IO support - URL:=http://www.creytiv.com/ -endef - -TARGET_CFLAGS += $(FPIC) - -ifneq ($(CONFIG_USE_EGLIBC),) -TARGET_CFLAGS += -D_GNU_SOURCE -endif - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - HAVE_LIBRESOLV= \ - CC="$(TARGET_CC)" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \ - EXTRA_LFLAGS="-lm" \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ - SYSROOT_ALT="$(STAGING_DIR)/usr" \ - RELEASE=1 \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - OS=linux \ - all install -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/share/re - $(CP) $(PKG_BUILD_DIR)/mk/re.mk $(1)/usr/share/re/ - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so} $(1)/usr/lib/ -endef - -define Package/libre/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libre)) diff --git a/libs/rem/Makefile b/libs/rem/Makefile deleted file mode 100644 index 24738b1fb..000000000 --- a/libs/rem/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# -# Copyright (C) 2010-2013 OpenWrt.org -# Copyright (C) 2010 Alfred E. Heggestad -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=rem -PKG_VERSION:=0.4.3 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.creytiv.com/pub -PKG_MD5SUM:=c44bf87118b19464621fe459d69853d1 - -include $(INCLUDE_DIR)/package.mk - -define Package/librem - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libre +libpthread - TITLE:=Audio and video processing media library - URL:=http://www.creytiv.com/ -endef - -TARGET_CFLAGS += $(FPIC) - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \ - LIBRE_INC=$(STAGING_DIR)/usr/include/re \ - LIBRE_SO=$(STAGING_DIR)/usr/lib \ - CC="$(TARGET_CC)" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \ - EXTRA_LFLAGS="-lm" \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ - SYSROOT_ALT="$(STAGING_DIR)/usr" \ - RELEASE=1 \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - OS=linux \ - all install -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/rem $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.{a,so} $(1)/usr/lib/ -endef - -define Package/librem/install - rm -f $(BUILD_DIR)/$(PKG_NAME) - ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.so $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,librem))