# -*-makefile-*- # # Copyright (C) 2009 by Bjoern Buerger # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_PTRTD) += ptrtd # # Paths and names # # We use the updated version from http://jk.fr.eu.org/debian/ # rather than the original from http://www.litech.org/ptrtd/ # although the archive is badly packaged (extracts to a # different directory name). # PTRTD_VERSION := 0.5.2 PTRTD_MD5 := 6a342fbb21a333f12a082001dece68f2 PTRTD_VERSION_SUFFIX := -1~14 PTRTD := ptrtd-$(PTRTD_VERSION) PTRTD_SUFFIX := tar.gz PTRTD_URL := https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ptrtd/ptrtd_$(PTRTD_VERSION)$(PTRTD_VERSION_SUFFIX).$(PTRTD_SUFFIX) PTRTD_SOURCE := $(SRCDIR)/ptrtd_$(PTRTD_VERSION)$(PTRTD_VERSION_SUFFIX).$(PTRTD_SUFFIX) PTRTD_DIR := $(BUILDDIR)/$(PTRTD) PTRTD_LICENSE := GPL-2.0-only # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- # # autoconf # PTRTD_AUTOCONF := $(CROSS_AUTOCONF_USR) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/ptrtd.targetinstall: @$(call targetinfo) @$(call install_init, ptrtd) @$(call install_fixup, ptrtd,PRIORITY,optional) @$(call install_fixup, ptrtd,SECTION,base) @$(call install_fixup, ptrtd,AUTHOR,"Bjoern Buerger ") @$(call install_fixup, ptrtd,DESCRIPTION,Portable Transport Relay Translator Daemon) # FIXME: currently, only the daemon is installed, # add init script, etc. @$(call install_copy, ptrtd, 0, 0, 0755, -, /usr/sbin/ptrtd) @$(call install_copy, ptrtd, 0, 0, 0755, -, /etc/ptrtd.tsetup) @$(call install_replace, ptrtd, /etc/ptrtd.tsetup, /sbin/ip, "/bin/ip") @$(call install_finish, ptrtd) @$(call touch) # vim: syntax=make