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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/clinkc
/
17 PKG_MD5SUM
:=4c8ac54a15da47203a86daf77fbc2664
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/CyberLinkC
21 PKG_BUILD_DEPENDS
:=libexpat
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libclinkc
29 TITLE
:=Embedded UPnP library
30 URL
:=http
://sourceforge.net
/projects
/clinkc
33 define Package
/libclinkc
/description
34 CyberLink for C is a UPnP library using C for small and embedded platforms.
39 TARGET_CFLAGS
+= $(FPIC
)
42 chmod
+x
$(PKG_BUILD_DIR
)/config
/install-sh
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 DESTDIR
="$(PKG_INSTALL_DIR)" \
48 define Build
/InstallDev
49 mkdir
-p
$(1)/usr
/include
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/cybergarage
$(1)/usr
/include/
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libclinkc.a
$(1)/usr
/lib
/
55 $(eval
$(call BuildPackage
/libclinkc
))