summaryrefslogtreecommitdiff
path: root/dhcpcd/Pkgfile
blob: 4c246d778dce564ee0e4b92e83855c5452743467 (plain)
    1 # Description: An RFC2131-compliant DHCP client daemon
    2 # URL:         https://roy.marples.name/projects/dhcpcd/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  eudev
    5 
    6 name=dhcpcd
    7 version=9.2.0
    8 release=1
    9 source=(https://roy.marples.name/downloads/dhcpcd/$name-$version.tar.xz
   10         rc.dhcpcd)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     ./configure --prefix= \
   16                 --libexecdir=/lib/dhcpcd \
   17                 --dbdir=/var/lib/dhcpcd \
   18                 --sysconfdir=/etc/dhcpcd \
   19                 --enable-privsep \
   20                 --privsepuser=dhcpcd
   21 
   22     make
   23     make DESTDIR=$PKG install
   24 
   25     install -d -o dhcpcd -g dhcpcd $PKG/var/lib/dhcpcd
   26     install -D -m 0755 $SRC/rc.dhcpcd $PKG/etc/rc.d/dhcpcd
   27 
   28     chmod -R u+w $PKG
   29 }

Generated by cgit