2 # Copyright (C) 2015 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_URL
:=http
://libestr.adiscon.com
/files
/download
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=f4c9165a23587e77f7efe65d676d5e8e
18 PKG_MAINTAINER
:=Dov Murik
<dmurik@us.ibm.com
>
19 PKG_LICENSE
:=LGPL-2.1
+
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libestr
30 TITLE
:=String handling library
31 URL
:=http
://libestr.adiscon.com
/
34 define Package
/libestr
/description
35 libestr
- some essentials for string handling
(and a bit more
)
38 TARGET_CFLAGS
+= $(FPIC
)
40 define Build
/InstallDev
41 $(INSTALL_DIR
) $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
48 define Package
/libestr
/install
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libestr.so
* $(1)/usr
/lib
/
53 $(eval
$(call BuildPackage
,libestr
))