summaryrefslogtreecommitdiff
path: root/package/openswan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/Makefile')
-rw-r--r--package/openswan/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 4758e85a1..7fea6fdd9 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -9,12 +9,16 @@ PKG_NAME:= openswan
PKG_VERSION:= 2.6.21
PKG_RELEASE:= 1
PKG_MD5SUM:= ba9da6c90e0f5fe856767d7510ce371f
-MASTER_SITES:= http://www.openswan.org/download/ \
+PKG_DESCR:= IPSec software
+PKG_SECTION:= net
+PKG_DEPENDS:= ip libgmp
+PKG_URL:= http://www.openswan.org
+PKG_SITES:= http://www.openswan.org/download/ \
ftp://ftp.openswan.org/openswan/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,OPENSWAN,openswan,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,OPENSWAN,openswan,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
FLAGS:= ${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}
@@ -42,8 +46,6 @@ do-install:
INC_USRLOCAL="/usr" \
MODPROBE="insmod" \
install
-
-post-install:
rm -rf ${IDIR_OPENSWAN}/usr/share
rm -rf ${IDIR_OPENSWAN}/usr/man
rm -rf ${IDIR_OPENSWAN}/var
@@ -51,9 +53,5 @@ post-install:
${IDIR_OPENSWAN}/usr/libexec/ipsec/setup
rm -rf ${IDIR_OPENSWAN}/etc/rc*.d
find ${IDIR_OPENSWAN} -name \*.old -print0 | xargs -0 rm -rf
- mkdir -p ${IDIR_OPENSWAN}/etc/init.d
- ${INSTALL_BIN} ./files/openswan.init \
- ${IDIR_OPENSWAN}/etc/init.d/ipsec
- #${IPKG_BUILD} ${IDIR_OPENSWAN} ${PACKAGE_DIR}
include ${TOPDIR}/mk/pkg-bottom.mk