source: packages/libs/clinkc/Makefile @ 12174

Last change on this file since 12174 was 12174, checked in by florian, 8 years ago

Makefile cleanups, round 5

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=clinkc
12PKG_VERSION:=101
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=@SF/clinkc/
17PKG_MD5SUM:=4c8ac54a15da47203a86daf77fbc2664
18
19PKG_BUILD_DIR:=$(BUILD_DIR)/CyberLinkC
20
21PKG_BUILD_DEPENDS:=libexpat
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/libclinkc
26  SECTION:=libs
27  CATEGORY:=Libraries
28  DEPENDS:=+libexpat
29  TITLE:=Embedded UPnP library
30  URL:=http://sourceforge.net/projects/clinkc
31endef
32
33define Package/libclinkc/description
34CyberLink for C is a UPnP library using C for small and embedded platforms.
35endef
36
37# uses GNU configure
38
39define Build/Compile
40        chmod +x $(PKG_BUILD_DIR)/config/install-sh
41        $(MAKE) -C $(PKG_BUILD_DIR) \
42                DESTDIR="$(PKG_INSTALL_DIR)" \
43                all install
44endef
45
46define Build/InstallDev
47        mkdir -p $(1)/usr/include
48        $(CP) $(PKG_INSTALL_DIR)/usr/include/cybergarage $(1)/usr/include/
49        mkdir -p $(1)/usr/lib
50        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libclinkc.a $(1)/usr/lib/
51endef
52
53$(eval $(call BuildPackage/libclinkc))
Note: See TracBrowser for help on using the repository browser.