2020-04-16 15:20:40 +02:00
|
|
|
VERSION="9.0.1"
|
2018-02-25 00:47:14 +01:00
|
|
|
SRCDIR="dhcpcd-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://roy.marples.name/downloads/dhcpcd"
|
2020-04-16 15:20:40 +02:00
|
|
|
SHA256SUM="faa6da04904e2a5b809a40760db7535aab2fca02d8cf30c3bba5f7b433b773b2"
|
2018-02-25 00:47:14 +01:00
|
|
|
DEPENDS="toolchain"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
local SOURCE="$1"
|
|
|
|
|
|
|
|
cp -r $SOURCE/* $PKGBUILDDIR
|
|
|
|
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "."
|
2018-02-25 00:47:14 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
2018-02-25 00:47:14 +01:00
|
|
|
|
2019-03-06 10:03:12 +01:00
|
|
|
chmod 755 $PKGDEPLOYDIR/bin/*
|
|
|
|
cat_file_override "dhcpcd.conf" > "$PKGDEPLOYDIR/etc/dhcpcd.conf"
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-02-25 00:47:14 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "dhcpcd" "tar.xz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|