summaryrefslogtreecommitdiff
path: root/package/6tunnel/Makefile
blob: a621af7b8b97e2450f2e1e560af2801e2fd2d835 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		6tunnel
PKG_VERSION:=		0.11rc1
PKG_RELEASE:=		1
PKG_MD5SUM:=		b325fa9d238e32195fbb3fc3646b0d28
PKG_DESCR:=		IPv4/IPv6 tunnel proxy
PKG_SECTION:=		net
PKG_DEPENDS:=		kmod-ipv6
PKG_SITES:=		http://toxygen.net/6tunnel/

WRKDIST=		${WRKDIR}/$(PKG_NAME)-0.11

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,6TUNNEL,6tunnel,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_STYLE=	gnu
CONFIGURE_ENV+=		ac_cv_path_STRIP=$(STRIP) \
			ac_cv_func_vsnprintf=yes
ALL_TARGET=		default
BUILD_STYLE=		auto

post-install:
	$(INSTALL_DIR) $(IDIR_6TUNNEL)/usr/sbin
	$(INSTALL_BIN) $(WRKBUILD)/6tunnel $(IDIR_6TUNNEL)/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk