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
9 PKG_HASH
:= 85ecf9e465e20f98f9950a52e9a411e14320bc555fa257d87697b7e7a9b1d8a6
10 PKG_DESCR
:= memory allocation library
11 PKG_SECTION
:= libs
/misc
12 PKG_BUILDDEP
:= python3-host python3
13 PKG_URL
:= https
://talloc.samba.org
/talloc
/doc
/html
/index.html
14 PKG_SITES
:= https
://www.samba.org
/ftp
/talloc
/
15 PKG_LIBNAME
:= libtalloc
18 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,LIBTALLOC
,libtalloc
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
24 CONFIG_STYLE
:= minimal
25 CONFIGURE_ARGS
+= --prefix=/usr \
28 --cross-answers
=$(WRKSRC
)/cache.txt \
31 CONFIGURE_ENV
+= PYTHON_CONFIG
="$(STAGING_TARGET_DIR)/usr/bin/python-config" \
36 $(CP
) .
/files
/cache.txt
$(WRKSRC
)
37 echo
'Checking uname machine type: "$(ADK_TARGET_ARCH)"' >>$(WRKSRC
)/cache.txt
40 $(INSTALL_DIR
) $(IDIR_LIBTALLOC
)/usr
/lib
41 $(CP
) $(WRKINST
)/usr
/lib
/libtalloc.so
* \
42 $(IDIR_LIBTALLOC
)/usr
/lib
44 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk