From b370d246fbde54a3fd8dc06398adc3ed5faf127b Mon Sep 17 00:00:00 2001 From: loswillios Date: Tue, 16 Aug 2011 21:10:55 +0000 Subject: [PATCH] [packages] remove json-c, its in trunk already git-svn-id: svn://svn.openwrt.org/openwrt/packages@28020 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/json-c/Makefile | 59 ---------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 libs/json-c/Makefile diff --git a/libs/json-c/Makefile b/libs/json-c/Makefile deleted file mode 100644 index 105fc98bf..000000000 --- a/libs/json-c/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=json-c -PKG_VERSION:=0.9 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://oss.metaparadigm.com/json-c/$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MD5SUM:=3a13d264528dcbaf3931b0cede24abae - -PKG_INSTALL = 1 - -include $(INCLUDE_DIR)/package.mk - -define Package/json-c - SECTION:=libs - CATEGORY:=Libraries - TITLE:=A JSON implementation in C - URL:=http://oss.metaparadigm.com/json-c/ -endef - -define Package/json-c/description - JSON-C implements a reference counting object model that allows you to \ - easily construct JSON objects in C, output them as JSON formatted strings \ - and parse JSON formatted strings back into the C representation of JSON objects. -endef - -define Package/json-c/install - $(INSTALL_DIR) \ - $(1)/usr/lib - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libjson.so* \ - $(1)/usr/lib -endef - -define Build/InstallDev - $(INSTALL_DIR) \ - $(1)/usr/lib \ - $(1)/usr/lib/pkgconfig \ - $(1)/usr/include/json - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc \ - $(1)/usr/lib/pkgconfig - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/json/* \ - $(1)/usr/include/json - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} \ - $(1)/usr/lib -endef - -$(eval $(call BuildPackage,json-c)) -- 2.11.0