3 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:=e7518cff21326fe7eb9795b60c25ae6a
10 PKG_SOURCE_URL
:=http
://www.unix-ag.uni-kl.de
/~massar
/vpnc
/
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,VPNC
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 OFLAGS
="$(TARGET_CFLAGS)" \
30 STAGING_DIR
=$(STAGING_DIR
) \
31 DESTDIR
=$(PKG_INSTALL_DIR
) \
37 install -d
-m0755
$(IDIR_VPNC
)
38 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_VPNC
)/
39 $(RSTRIP
) $(IDIR_VPNC
)
40 $(IPKG_BUILD
) $(IDIR_VPNC
) $(PACKAGE_DIR
)