port findutils
[openadk.git] / package / findutils / Makefile
blob69f7f0e573d36bacaa3e968f7ac33ed56fc13b2f
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 $(TOPDIR)/rules.mk
6 PKG_NAME:= findutils
7 PKG_VERSION:= 4.4.2
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= 351cc4adb07d54877fa15f75fb77d39f
10 PKG_DESCR:= GNU utilities for finding files
11 PKG_SECTION:= utils
12 PKG_DEPENDS:= libpthread
13 PKG_URL:= http://www.gnu.org/software/findutils/
14 PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
16 # FIXME: test this port with some libc different from glibc
18 include $(TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,FINDUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIGURE_STYLE:= gnu
23 # the following prevents gnulib from defining it's own fseeko (which conflicts with the libc one)
24 CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes
25 BUILD_STYLE:= auto
26 INSTALL_STYLE:= auto
28 post-install:
29 $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/{s,}bin
30 $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,locate,oldfind,updatedb,xargs} $(IDIR_FINDUTILS)/usr/bin
31 $(INSTALL_BIN) $(WRKINST)/usr/sbin/{bigram,code,frcode} $(IDIR_FINDUTILS)/usr/sbin
33 include ${TOPDIR}/mk/pkg-bottom.mk