2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.sixxs.net
/archive
/sixxs
/aiccu
/unix
16 PKG_MD5SUM
:=c9bcc83644ed788e22a7c3f3d4021350
17 PKG_LICENSE
:=BSD-3-Clause
18 PKG_LICENSE_FILES
:=doc
/LICENSE
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+libpthread
+ip
+kmod-sit
+kmod-tun
+libgnutls
28 TITLE
:=SixXS Automatic IPv6 Connectivity Client Utility
29 URL
:=http
://www.sixxs.net
/tools
/aiccu
/
30 MAINTAINER
:=Ondrej Caletka
<ondrej@caletka.cz
>
33 define Build
/Configure
34 $(SED
) "s,strip,/bin/true," $(PKG_BUILD_DIR
)/unix-console
/Makefile
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
39 CC
="$(TARGET_CC)" OS_NAME
="Linux" OS_VERSION
="$(LINUX_VERSION)" HAVE_GNUTLS
=1 \
40 EXTRA_CFLAGS
="$(TARGET_CFLAGS)" \
41 EXTRA_LDFLAGS
="$(TARGET_LDFLAGS) -pthread" \
45 define Package
/aiccu
/conffiles
49 define Package
/aiccu
/install
50 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/lib
/netifd
/proto
$(1)/etc
/hotplug.d
/ntp
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/unix-console
/$(PKG_NAME
) $(1)/usr
/sbin
/
52 $(INSTALL_BIN
) .
/files
/aiccu.sh
$(1)/lib
/netifd
/proto
/aiccu.sh
53 $(INSTALL_DATA
) .
/files
/aiccu.hotplug
$(1)/etc
/hotplug.d
/ntp
/10-aiccu
56 $(eval
$(call BuildPackage
,aiccu
))