diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/vtun/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/vtun/Makefile')
-rw-r--r-- | package/vtun/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/package/vtun/Makefile b/package/vtun/Makefile index a61fe61c6..215615074 100644 --- a/package/vtun/Makefile +++ b/package/vtun/Makefile @@ -9,26 +9,24 @@ PKG_NAME:= vtun PKG_VERSION:= 3.0.1 PKG_RELEASE:= 1 PKG_MD5SUM:= c342ffe77055d4248a38f0b380f28c1b -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/} +PKG_DESCR:= A VPN tunnel daemon +PKG_SECTION:= net +PKG_DEPENDS:= libopenssl zlib kmod-tun +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,VTUN,vtun,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,VTUN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu CONFIGURE_ARGS+= --with-ssl-headers=$(STAGING_DIR)/usr/include/openssl \ --disable-lzo -#CONFIGURE_ENV+= LIBS="${TLDFLAGS}" \ -# BLOWFISH_HDR_DIR="${STAGING_DIR}/usr/include/openssl" \ -# LZO_HDR_DIR="${STAGING_DIR}/usr/include/lzo" \ -# SSL_HDR_DIR="${STAGING_DIR}/usr/include/openssl" BUILD_STYLE:= auto ALL_TARGET:= vtund do-install: - ${INSTALL_DIR} ${IDIR_VTUN}/etc/ + ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin ${IDIR_VTUN}/etc ${INSTALL_DATA} ${WRKBUILD}/vtund.conf ${IDIR_VTUN}/etc/ - ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin/ ${INSTALL_BIN} ${WRKBUILD}/vtund ${IDIR_VTUN}/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk |