summaryrefslogtreecommitdiff
path: root/package/knock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/knock/Makefile')
-rw-r--r--package/knock/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/knock/Makefile b/package/knock/Makefile
index 75c8055b5..c7978ece1 100644
--- a/package/knock/Makefile
+++ b/package/knock/Makefile
@@ -9,17 +9,18 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= ca09d61458974cff90a700aba6120891
PKG_DESCR:= A port-knocking client
PKG_SECTION:= firewall
+PKG_BUILDDEP:= libpcap
PKG_URL:= http://www.zeroflux.org/projects/knock
-PKG_BUILDDEP+= libpcap
PKG_SITES:= http://www.zeroflux.org/proj/knock/files/
-PKG_DESCR_1:= A port-knocking server
-PKG_DEPENDS_1:= libpcap
+PKG_SUBPKGS:= KNOCK KNOCKD
+PKGSD_KNOCKD:= A port-knocking server
+PKGSS_KNOCKD:= libpcap
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KNOCK,knock,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
+$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_KNOCKD},${PKGSD_KNOCKD},${PKG_SECTION}))
TCXXFLAGS+= ${TCPPFLAGS} ${TCFLAGS}
CONFIGURE_ENV+= ac_cv_lib_pcap_pcap_open_live=yes