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
:= 434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
10 PKG_DESCR
:= utilities for finding files
11 PKG_SECTION
:= base
/apps
12 PKG_DEPENDS
:= libpthread
13 HOST_BUILDDEP
:= autoconf-host bison-host
14 PKG_URL
:= http
://www.gnu.org
/software
/findutils
/
15 PKG_SITES
:= http
://ftp.gnu.org
/pub
/gnu
/findutils
/
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 AUTOTOOL_STYLE
:= autoreconf
37 CONFIGURE_ENV
+= gl_cv_func_wcwidth_works
=yes \
38 ac_cv_func_working_mktime
=yes
41 $(INSTALL_DIR
) $(IDIR_FIND
)/usr
/bin
42 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/find \
46 $(INSTALL_DIR
) $(IDIR_XARGS
)/usr
/bin
47 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/xargs \
51 ${INSTALL_DIR} ${IDIR_LOCATE}/usr
/{bin
,libexec
}
52 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/{locate
,updatedb
} ${IDIR_LOCATE}/usr
/bin
/
53 $(INSTALL_BIN
) $(WRKINST
)/usr
/libexec
/{bigram
,code
,frcode
} \
54 $(IDIR_LOCATE
)/usr
/libexec
56 include ${ADK_TOPDIR}/mk
/host-bottom.mk
57 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk