summaryrefslogtreecommitdiff
path: root/package/dhcp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
commit02e9bb0970ba681f228dc642b1e5026cc97047c7 (patch)
tree3521f7ffac2ffbb868e88fbaff85018b5fee54a5 /package/dhcp/Makefile
parent23153b00979f7e0e6b1dee395db7215185ba501b (diff)
simplify buildsystem
- remove ADK_IPV6, ADK_CXX and ADK_X11 - enable ipv6 by default in uclibc - enable build of c++ compiler by default
Diffstat (limited to 'package/dhcp/Makefile')
-rw-r--r--package/dhcp/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index 38cce03ce..f7b590cb0 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -12,24 +12,18 @@ PKG_SECTION:= net
PKG_URL:= https://www.isc.org/software/dhcp
PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
-PKG_DESCR_1:= ISC DHCP relay server
+PKG_DESCR_RELAY:= ISC DHCP relay server
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
-
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_ARGS+= --enable-dhcpv6
-else
-CONFIGURE_ARGS+= --disable-dhcpv6
-endif
+$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_RELAY},${PKG_SECTION}))
TCFLAGS+= -D_GNU_SOURCE
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin