add hifiberry dacplus support
[openadk.git] / package / libestr / Makefile
blob7f4181e68d1b1c1b361ea6955c02509fd222ca97
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libestr
7 PKG_VERSION:= 0.1.9
8 PKG_RELEASE:= 1
9 PKG_HASH:= 822c6e2d01eaca1e72201f403a2ca01f3e86410b880e508e5204e3c2694d751a
10 PKG_DESCR:= some essentials for string handling
11 PKG_SECTION:= libs/misc
12 PKG_URL:= http://libestr.adiscon.com/
13 PKG_SITES:= http://libestr.adiscon.com/files/download/
14 PKG_OPTS:= dev
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,LIBESTR,libestr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
22 CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
23 ac_cv_func_realloc_0_nonnull=yes
25 libestr-install:
26 $(INSTALL_DIR) $(IDIR_LIBESTR)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libestr*.so* \
28 $(IDIR_LIBESTR)/usr/lib
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk