depend on CPU_WITH_FPU
[openadk.git] / package / portsentry / Makefile
blob28ddeff6181fbd2842eb8f39895bb8a4b4a4d42f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= portsentry
7 PKG_VERSION:= 1.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= dd1edcfcf2d9db7b5722de4f1da36ae45703bf05917af657ab6f7491be7fa52e
10 PKG_DESCR:= software for protection against port scans
11 PKG_SECTION:= net/security
12 PKG_URL:= http://sourceforge.net/projects/sentrytools
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
15 PKG_LIBC_DEPENDS:= uclibc glibc
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,PORTSENTRY,portsentry,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIG_STYLE:= manual
25 INSTALL_STYLE:= manual
27 ALL_TARGET:= linux
28 MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}"
30 do-install:
31 ${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin ${IDIR_PORTSENTRY}/etc
32 ${INSTALL_DATA} ${WRKBUILD}/${PKG_NAME}.conf ${IDIR_PORTSENTRY}/etc/
33 ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_PORTSENTRY}/usr/bin/
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk