avr32 workarounds
[openadk.git] / package / ipset / Makefile
blob1b2d8a65fe56a00cd6236fb0508338d62d71183b
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 ${TOPDIR}/rules.mk
6 PKG_NAME:= ipset
7 PKG_VERSION:= 4.1
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= d104007fdf5ea64fef774c22b1c0a97b
10 PKG_DESCR:= ip sets administration utility
11 PKG_SECTION:= firewall
12 PKG_URL:= http://ipset.netfilter.org/
13 PKG_SITES:= http://ipset.netfilter.org/
15 PKG_ARCH_DEPENDS:= !arm !avr32
16 PKG_CFLINE_IPSET:= depends on !ADK_TOOLCHAIN_ONLY
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
20 include ${TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,IPSET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIG_STYLE:= manual
25 XAKE_FLAGS+= PREFIX=/usr
26 ALL_TARGET:= binaries
27 INSTALL_TARGET:= binaries_install
29 post-install:
30 ${INSTALL_DIR} ${IDIR_IPSET}/usr/sbin ${IDIR_IPSET}/usr/lib/ipset
31 ${INSTALL_BIN} ${WRKINST}/usr/sbin/ipset ${IDIR_IPSET}/usr/sbin
32 ${CP} ${WRKINST}/usr/lib/ipset/*.so ${IDIR_IPSET}/usr/lib/ipset/
34 include ${TOPDIR}/mk/pkg-bottom.mk