kumquat-buildroot/package/xl2tp/xl2tp.mk
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00

34 lines
853 B
Makefile

#############################################################
#
# xl2tp
#
#############################################################
XL2TP_VERSION = 1.2.7
XL2TP_SOURCE = xl2tpd-$(XL2TP_VERSION).tar.gz
XL2TP_SITE = ftp://ftp.xelerance.com/xl2tpd/
XL2TP_DEPENDENCIES = libpcap
define XL2TP_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define XL2TP_INSTALL_TARGET_CMDS
$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
endef
define XL2TP_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/pfc
rm -f $(TARGET_DIR)/usr/sbin/xl2tpd
rm -f $(TARGET_DIR)/usr/share/man/man1/pfc.1
rm -f $(TARGET_DIR)/usr/share/man/man8/xl2tpd.8
rm -f $(TARGET_DIR)/usr/share/man/man5/xl2tpd.conf.5
rm -f $(TARGET_DIR)/usr/share/man/man5/l2tp-secrets.5
endef
define XL2TP_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(eval $(generic-package))