mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
findutils: add recipe for version 4.7.0.
This commit is contained in:
76
sys-apps/findutils/findutils-4.7.0.recipe
Normal file
76
sys-apps/findutils/findutils-4.7.0.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
SUMMARY="Basic directory searching utilities"
|
||||
DESCRIPTION="
|
||||
GNU Findutils are typically used in conjunction with other programs to \
|
||||
provide modular and powerful directory search and file locating \
|
||||
capabilities to other commands.
|
||||
The tools supplied with this package are:
|
||||
- find - search for files in a directory hierarchy
|
||||
- locate - list files in databases that match a pattern
|
||||
- updatedb - update a file name database
|
||||
- xargs - build and execute command lines from a standard input.
|
||||
"
|
||||
HOMEPAGE="http://www.gnu.org/software/findutils"
|
||||
COPYRIGHT="1994-2015 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://ftp.gnu.org/gnu/findutils/findutils-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="c5fefbdf9858f7e4feb86f036e1247a54c79fc2d8e4b7064d5aaa1f47dfa789a"
|
||||
PATCHES="findutils-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86_64 arm"
|
||||
|
||||
PROVIDES="
|
||||
findutils = $portVersion compat >= 4
|
||||
cmd:find = $portVersion compat >= 4
|
||||
cmd:locate = $portVersion compat >= 4
|
||||
cmd:oldfind = $portVersion compat >= 4
|
||||
cmd:updatedb = $portVersion compat >= 4
|
||||
cmd:xargs = $portVersion compat >= 4
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libiconv
|
||||
lib:libintl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libiconv
|
||||
devel:libintl
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:python
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage findutils \
|
||||
$binDir/find \
|
||||
$binDir/locate \
|
||||
$binDir/xargs
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure \
|
||||
--libexecdir=$libDir/findutils \
|
||||
--without-included-regex \
|
||||
--disable-rpath --with-gnu-ld
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
22
sys-apps/findutils/patches/findutils-4.7.0.patchset
Normal file
22
sys-apps/findutils/patches/findutils-4.7.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 65d1b8c392755692bd889eb35a7e8dd8e678e952 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 2 Sep 2017 13:30:14 +0200
|
||||
Subject: fix check needed for inet_pton
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index de651d7..b666d52 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -215,6 +215,8 @@ AC_HEADER_DIRENT
|
||||
AC_HEADER_STAT
|
||||
AC_HEADER_SYS_WAIT
|
||||
|
||||
+dnl Check for -lsocket -lnetwork inet
|
||||
+AC_SEARCH_LIBS([socket],[socket inet network])
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
||||
Reference in New Issue
Block a user