dhcpcd: add package

This commit is contained in:
Muhammad Herdiansyah 2019-07-04 23:02:03 +07:00
parent 7ecb9268c6
commit 1fac8101ae
5 changed files with 21 additions and 0 deletions

14
core/dhcpcd/build Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--rundir=/run
make
make DESTDIR="$1" install
# Install runit service.
install -Dm 755 dhcpcd.run "$1/etc/sv/dhcpcd/run"
ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"

2
core/dhcpcd/checksums Normal file
View File

@ -0,0 +1,2 @@
74ab38177548abe968c2abacefffdd97b573acaedd4f77b6c0a54ae38f68566e dhcpcd-7.2.3.tar.xz
533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec dhcpcd -BM 1>&2

2
core/dhcpcd/sources Normal file
View File

@ -0,0 +1,2 @@
https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.2.3.tar.xz
files/dhcpcd.run

1
core/dhcpcd/version Normal file
View File

@ -0,0 +1 @@
7.2.3 1