You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
939 B

3 years ago
################################################################################
#
# udpxy
#
################################################################################
UDPXY_VERSION = git
UDPXY_DIR = udpxy.$(UDPXY_VERSION)
UDPXY_SOURCE = udpxy.$(UDPXY_VERSION)
UDPXY_SITE = https://github.com/pcherenkov
UDPXY_CHECKOUT = tags/1.0-25.1
UDPXY_MAKE_OPTS = \
NO_UDPXREC=yes
UDPXY_MAKE_INSTALL_OPTS = \
PREFIX=$(prefix) \
MANPAGE_DIR=$(TARGET_DIR)$(REMOVE_mandir)
define UDPXY_INSTALL_INIT_SCRIPT
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/udpxy.init $(TARGET_sysconfdir)/init.d/udpxy
$(UPDATE-RC.D) udpxy defaults 75 25
endef
UDPXY_TARGET_FINALIZE_HOOKS += UDPXY_INSTALL_INIT_SCRIPT
udpxy: | $(TARGET_DIR)
$(call PREPARE)
$(CHDIR)/$($(PKG)_DIR)/chipmunk; \
$(TARGET_CONFIGURE_ENV) \
$(MAKE) $($(PKG)_MAKE_OPTS); \
$(MAKE) $($(PKG)_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) $($(PKG)_MAKE_INSTALL_OPTS)
$(call TARGET_FOLLOWUP)