2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/clinkc
/
16 PKG_MD5SUM
:=4c8ac54a15da47203a86daf77fbc2664
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/CyberLinkC
20 PKG_BUILD_DEPENDS
:=libexpat
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/libclinkc
30 TITLE
:=Embedded UPnP library
31 URL
:=http
://sourceforge.net
/projects
/clinkc
34 define Package
/libclinkc
/description
35 CyberLink for C is a UPnP library using C for small and embedded platforms.
40 TARGET_CFLAGS
+= $(FPIC
)
43 chmod
+x
$(PKG_BUILD_DIR
)/config
/install-sh
44 $(call Build
/Compile
/Default
)
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/cybergarage
$(1)/usr
/include/
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libclinkc.a
$(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libclinkc
))