1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/dhcpcd/build
David Oberhollenzer d1bcce3e82 Bump dhcpcd version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-09-18 14:07:02 +02:00

31 lines
615 B
Text
Executable file

VERSION="8.0.6"
SRCDIR="dhcpcd-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://roy.marples.name/downloads/dhcpcd"
SHA256SUM="66b50199ed83bf502af3fab9ac001b417f0fac7e69c92d97a9c41499cebabd4f"
DEPENDS="toolchain"
prepare() {
return
}
build() {
local SOURCE="$1"
cp -r $SOURCE/* $PKGBUILDDIR
run_configure "."
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
chmod 755 $PKGDEPLOYDIR/bin/*
cat_file_override "dhcpcd.conf" > "$PKGDEPLOYDIR/etc/dhcpcd.conf"
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "dhcpcd" "tar.xz"
}