2018-01-15 01:20:43 +01:00
|
|
|
VERSION="4.6.0"
|
|
|
|
SRCDIR="findutils-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/findutils/"
|
|
|
|
SHA256SUM="ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2018-01-15 01:20:43 +01:00
|
|
|
|
|
|
|
prepare() {
|
2019-08-03 22:15:30 +02:00
|
|
|
apply_patches
|
2018-01-15 01:20:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --localstatedir=/var/lib/locate
|
2018-01-15 01:20:43 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-01-15 01:20:43 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "findutils" "tar.gz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|