libupnp: update to 1.14.18
[feed/packages.git] / libs / libestr / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libestr
11 PKG_VERSION:=0.1.11
12 PKG_RELEASE:=3
13
14 PKG_SOURCE_URL:=http://libestr.adiscon.com/files/download/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_HASH:=46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024
17
18 PKG_MAINTAINER:=
19 PKG_LICENSE:=LGPL-2.1-or-later
20 PKG_LICENSE_FILES:=COPYING
21 PKG_CPE_ID:=cpe:/a:adiscon:libestr
22
23 PKG_INSTALL:=1
24 PKG_BUILD_PARALLEL:=1
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/libestr
29 SECTION:=libs
30 CATEGORY:=Libraries
31 TITLE:=String handling library
32 URL:=http://libestr.adiscon.com/
33 endef
34
35 define Package/libestr/description
36 libestr - some essentials for string handling (and a bit more)
37 endef
38
39 TARGET_CFLAGS += $(FPIC)
40
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)/usr/include
43 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
44
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
47 endef
48
49 define Package/libestr/install
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libestr.so* $(1)/usr/lib/
52 endef
53
54 $(eval $(call BuildPackage,libestr))