2006-10-30 11:15:34 +00:00
|
|
|
#
|
2006-08-01 11:24:09 +00:00
|
|
|
# Copyright (C) 2006 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:=clinkc
|
|
|
|
PKG_VERSION:=101
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.gz
|
2006-10-30 11:15:34 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/clinkc/
|
|
|
|
PKG_MD5SUM:=4c8ac54a15da47203a86daf77fbc2664
|
2006-08-01 11:24:09 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/CyberLinkC
|
|
|
|
|
2007-01-22 17:33:10 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libexpat
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
2007-01-22 17:33:10 +00:00
|
|
|
|
2006-08-01 11:24:09 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2006-10-30 11:15:34 +00:00
|
|
|
define Package/libclinkc
|
2006-08-01 11:24:09 +00:00
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
2006-08-02 17:51:58 +00:00
|
|
|
DEPENDS:=+libexpat
|
2006-08-01 11:24:09 +00:00
|
|
|
TITLE:=Embedded UPnP library
|
|
|
|
URL:=http://sourceforge.net/projects/clinkc
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/libclinkc/description
|
|
|
|
CyberLink for C is a UPnP library using C for small and embedded platforms.
|
|
|
|
endef
|
|
|
|
|
2006-10-30 11:15:34 +00:00
|
|
|
# uses GNU configure
|
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
2006-08-01 11:24:09 +00:00
|
|
|
define Build/Compile
|
|
|
|
chmod +x $(PKG_BUILD_DIR)/config/install-sh
|
2010-02-18 13:10:21 +00:00
|
|
|
$(call Build/Compile/Default)
|
2006-08-01 11:24:09 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/cybergarage $(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libclinkc.a $(1)/usr/lib/
|
2006-08-01 11:24:09 +00:00
|
|
|
endef
|
|
|
|
|
2009-04-19 15:32:31 +00:00
|
|
|
$(eval $(call BuildPackage,libclinkc))
|