Contents of /trunk/core/dhcpcd/dhcpcd-5.0.0-r1.smage2
Parent Directory | Revision Log
Revision 1317 -
(show annotations)
(download)
Fri May 1 11:07:58 2009 UTC (15 years ago) by niro
File size: 942 byte(s)
Fri May 1 11:07:58 2009 UTC (15 years ago) by niro
File size: 942 byte(s)
auto added: ver bump to 5.0.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="dhcpcd" |
4 | PVER="5.0.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="dhcpcd is an implementation of the DHCP client specified in RFC2131." |
11 | HOMEPAGE="http://roy.marples.name/dhcpcd" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | SRC_URI=( |
19 | http://roy.marples.name/downloads/${PNAME}/${SRCFILE} |
20 | mirror://${PNAME}/${SRCFILE} |
21 | ) |
22 | |
23 | UP2DATE="updatecmd ${HOMEPAGE}/wiki/DhcpcdDownload | grep 'Latest stable' | sed 's/.* \(.*\)/\1/'" |
24 | |
25 | src_prepare() |
26 | { |
27 | munpack ${SRCFILE} || die |
28 | cd ${SRCDIR} |
29 | |
30 | # redefine the location of the driftfile to meet fhs specs |
31 | sed -i "s:^\(#define NTPDRIFTFILE\).*:\1 \"/var/lib/ntp/ntp.drift\":" config.h || die |
32 | |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | mmake -j1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" INFODIR=/var/lib/dhcpcd || die |
39 | } |
40 | |
41 | src_install() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | mmake DESTDIR=${BINDIR} install || die |
46 | minstalldocs ChangeLog || die |
47 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |