summaryrefslogtreecommitdiff
path: root/package/dante/Makefile
blob: 85c86be73f7d4f4bcd61bf6322d6d9c6e9ab4855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		dante
PKG_VERSION:=		1.4.1
PKG_RELEASE:=		1
PKG_HASH:=		b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53
PKG_DESCR:=		socks proxy
PKG_SECTION:=		net/proxy
PKG_URL:=		https://www.inet.no/dante/
PKG_SITES:=		https://www.inet.no/dante/files/

DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,DANTE,dante,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

dante-install:
	$(INSTALL_DIR) $(IDIR_DANTE)/etc
	$(CP) $(WRKSRC)/example/sockd.conf \
		$(IDIR_DANTE)/etc
	$(INSTALL_DIR) $(IDIR_DANTE)/usr/lib
	$(CP) $(WRKINST)/usr/lib/lib*.so* \
		$(IDIR_DANTE)/usr/lib
	$(INSTALL_DIR) $(IDIR_DANTE)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/sbin/sockd \
		$(IDIR_DANTE)/usr/sbin

include $(ADK_TOPDIR)/mk/pkg-bottom.mk