300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
606 B
Makefile
20 lines
606 B
Makefile
#############################################################
|
|
#
|
|
# vtun
|
|
#
|
|
# NOTE: Uses start-stop-daemon in init script, so be sure
|
|
# to enable that within busybox
|
|
#
|
|
#############################################################
|
|
VTUN_VERSION:=3.0.2
|
|
VTUN_SOURCE:=vtun-$(VTUN_VERSION).tar.gz
|
|
VTUN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/vtun/
|
|
VTUN_DEPENDENCIES = zlib lzo openssl
|
|
|
|
VTUN_CONF_OPT = \
|
|
--with-ssl-headers=$(STAGING_DIR)/usr/include/openssl \
|
|
--with-lzo-headers=$(STAGING_DIR)/usr/include/lzo \
|
|
--with-lzo-lib=$(STAGING_DIR)/usr/lib
|
|
|
|
$(eval $(call AUTOTARGETS))
|