2020-03-13 12:15:52 +01:00
|
|
|
VERSION="8.1.6"
|
2018-02-25 00:47:14 +01:00
|
|
|
SRCDIR="dhcpcd-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://roy.marples.name/downloads/dhcpcd"
|
2020-03-13 12:15:52 +01:00
|
|
|
SHA256SUM="6c2934a3e1e67a5cfd5bb15b1efa71f65c00314ac1ccb5c50da8eae3a0b8147f"
|
2018-02-25 00:47:14 +01:00
|
|
|
DEPENDS="toolchain"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|