diff options
Diffstat (limited to 'package/ipcad/Makefile')
-rw-r--r-- | package/ipcad/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/ipcad/Makefile b/package/ipcad/Makefile new file mode 100644 index 000000000..11cef0586 --- /dev/null +++ b/package/ipcad/Makefile @@ -0,0 +1,35 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= ipcad +PKG_VERSION:= 3.7.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 125605249958894148ec26d3c88189f5 +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-ifst=linux \ + --with-psrc=pcap \ + --with-pcap-include="${STAGING_DIR}/usr/include" \ + --with-pcap-libraries="${STAGING_DIR}/usr/lib" +BUILD_STYLE= auto +INSTALL_STYLE= auto + +pre-build: + touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c + +post-install: + ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin + ${INSTALL_DIR} ${IDIR_IPCAD}/etc + ${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/ + ${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/ + +include ${TOPDIR}/mk/pkg-bottom.mk |