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
9 PKG_HASH
:= b9690e8c6ff524732cd2a729a8a08f5d2acedff41cb97303b82946d039de55f0
10 PKG_DESCR
:= ipsec software
11 PKG_SECTION
:= net
/security
15 PKG_URL
:= http
://www.openswan.org
/
16 PKG_SITES
:= http
://www.openswan.org
/download
/
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
22 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
24 include ${ADK_TOPDIR}/mk
/package.mk
26 $(eval
$(call PKG_template
,OPENSWAN
,openswan
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
29 XAKE_FLAGS
+= KERNELSRC
="${LINUX_DIR}" \
30 IPSECDIR
="/usr/lib/ipsec" \
39 ${INSTALL_DIR} ${IDIR_OPENSWAN}/usr
/lib
/ipsec
40 ${INSTALL_DIR} ${IDIR_OPENSWAN}/usr
/libexec
/ipsec
41 ${INSTALL_DIR} ${IDIR_OPENSWAN}/etc
/ipsec.d
42 ${INSTALL_DIR} ${IDIR_OPENSWAN}/usr
/sbin
43 ${INSTALL_DATA} ${WRKINST}/etc
/ipsec.conf
${IDIR_OPENSWAN}/etc
/
44 ${CP} ${WRKINST}/etc
/ipsec.d
/* ${IDIR_OPENSWAN}/etc
/ipsec.d
45 ${CP} ${WRKINST}/usr
/lib
/ipsec
/* ${IDIR_OPENSWAN}/usr
/lib
/ipsec
46 ${CP} ${WRKINST}/usr
/libexec
/ipsec
/* ${IDIR_OPENSWAN}/usr
/libexec
/ipsec
47 rm ${IDIR_OPENSWAN}/usr
/libexec
/ipsec
/setup
48 ${INSTALL_BIN} ${WRKINST}/etc
/rc.d
/init.d
/ipsec \
49 ${IDIR_OPENSWAN}/usr
/libexec
/ipsec
/setup
50 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/ipsec
${IDIR_OPENSWAN}/usr
/sbin
52 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk