source: packages/ipv6/aiccu/Makefile @ 28639

Last change on this file since 28639 was 28639, checked in by jow, 5 years ago

[packages] aiccu: remove dependency on ntpclient (#10295)

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=aiccu
11PKG_VERSION:=20070115
12PKG_RELEASE:=6
13
14PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix
16PKG_MD5SUM:=c9bcc83644ed788e22a7c3f3d4021350
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/aiccu
23  SECTION:=ipv6
24  CATEGORY:=IPv6
25  DEPENDS:=+libpthread +ip +kmod-sit +kmod-tun
26  TITLE:=SixXS Automatic IPv6 Connectivity Client Utility
27  URL:=http://www.sixxs.net/tools/aiccu/
28endef
29
30define Build/Configure
31        $(SED) "s,strip,/bin/true," $(PKG_BUILD_DIR)/unix-console/Makefile
32endef
33
34define Build/Compile
35        $(MAKE) -C $(PKG_BUILD_DIR) \
36                CC="$(TARGET_CC)" OS_NAME="Linux" OS_VERSION="$(LINUX_VERSION)" \
37                EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
38                EXTRA_LDFLAGS="$(TARGET_LDFLAGS) -pthread" \
39                DEBUG=0
40endef
41
42define Package/aiccu/conffiles
43/etc/config/aiccu
44endef
45
46define Package/aiccu/install
47        $(INSTALL_DIR) $(1)/usr/sbin
48        $(INSTALL_BIN) $(PKG_BUILD_DIR)/unix-console/$(PKG_NAME) $(1)/usr/sbin/
49        $(INSTALL_DIR) $(1)/etc/config
50        $(INSTALL_CONF) ./files/aiccu.conf $(1)/etc/config/aiccu
51        $(INSTALL_DIR) $(1)/etc/init.d
52        $(INSTALL_BIN) ./files/aiccu.init $(1)/etc/init.d/aiccu
53        $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
54        $(INSTALL_DATA) ./files/aiccu.hotplug $(1)/etc/hotplug.d/iface/30-aiccu
55endef
56
57$(eval $(call BuildPackage,aiccu))
Note: See TracBrowser for help on using the repository browser.