python3: update to 3.11.10
[openadk.git] / package / findutils / Makefile
blobc090db8ce2b978b860ab60ed9cbe5139c3596f97
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:= findutils
7 PKG_VERSION:= 4.6.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d
10 PKG_DESCR:= utilities for finding files
11 PKG_SECTION:= base/tools
12 HOST_BUILDDEP:= bison-host
13 PKG_NEEDS:= threads
14 PKG_URL:= http://www.gnu.org/software/findutils/
15 PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
16 PKG_BB:= 1
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 PKG_SUBPKGS:= FINDUTILS XARGS LOCATE FIND
21 PKGSD_LOCATE:= locate utility
22 PKGSN_LOCATE:= findutils
23 PKGSD_XARGS:= xargs utility
24 PKGSN_XARGS:= findutils
25 PKGSD_FIND:= find utility
26 PKGSN_FIND:= findutils
28 include $(ADK_TOPDIR)/mk/host.mk
29 include $(ADK_TOPDIR)/mk/package.mk
31 $(eval $(call HOST_template,FINDUTILS,findutils,$(PKG_VERSION)-${PKG_RELEASE}))
32 $(eval $(call PKG_template,FIND,find,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FIND},${PKG_SECTION}))
33 $(eval $(call PKG_template,LOCATE,locate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LOCATE},${PKG_SECTION}))
34 $(eval $(call PKG_template,XARGS,xargs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XARGS},${PKG_SECTION}))
36 CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes \
37 ac_cv_func_working_mktime=yes
39 find-install:
40 $(INSTALL_DIR) $(IDIR_FIND)/usr/bin
41 $(INSTALL_BIN) $(WRKINST)/usr/bin/find \
42 $(IDIR_FIND)/usr/bin
44 xargs-install:
45 $(INSTALL_DIR) $(IDIR_XARGS)/usr/bin
46 $(INSTALL_BIN) $(WRKINST)/usr/bin/xargs \
47 $(IDIR_XARGS)/usr/bin
49 locate-install:
50 ${INSTALL_DIR} ${IDIR_LOCATE}/usr/{bin,libexec}
51 ${INSTALL_BIN} ${WRKINST}/usr/bin/{locate,updatedb} ${IDIR_LOCATE}/usr/bin/
52 $(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
53 $(IDIR_LOCATE)/usr/libexec
55 include ${ADK_TOPDIR}/mk/host-bottom.mk
56 include ${ADK_TOPDIR}/mk/pkg-bottom.mk