add wl0_txpwr setting to wificonf
[openwrt.git] / package / radvd / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=radvd
6 PKG_VERSION:=0.7.3
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=56ce3f8cbf5966a0d531c21813320423
9
10 PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
11 http://download.sourcemage.org/mirror
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,RADVD,radvd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
24 $(TARGET_CONFIGURE_OPTS) \
25 CFLAGS="$(TARGET_CFLAGS)" \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --program-prefix="" \
31 --program-suffix="" \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --datadir=/usr/share \
36 --includedir=/usr/include \
37 --infodir=/usr/share/info \
38 --libdir=/usr/lib \
39 --libexecdir=/usr/lib \
40 --localstatedir=/var \
41 --mandir=/usr/share/man \
42 --sbindir=/usr/sbin \
43 --sysconfdir=/etc \
44 $(DISABLE_LARGEFILE) \
45 $(DISABLE_NLS) \
46 --with-configfile=/etc/radvd.conf \
47 --with-logfile=/var/log/radvd.log \
48 --with-pidfile=/var/run/radvd.pid \
49 );
50 touch $@
51
52 $(PKG_BUILD_DIR)/.built:
53 $(MAKE) -C $(PKG_BUILD_DIR) \
54 radvd_LDADD=""
55 mkdir -p $(PKG_INSTALL_DIR)
56 $(MAKE) -C $(PKG_BUILD_DIR) \
57 DESTDIR="$(PKG_INSTALL_DIR)" \
58 install
59 touch $@
60
61 $(IPKG_RADVD):
62 install -d -m0755 $(IDIR_RADVD)/etc
63 install -m0644 ./files/radvd.conf $(IDIR_RADVD)/etc/radvd.conf
64 install -d -m0755 $(IDIR_RADVD)/etc/init.d
65 install -m0755 ./files/radvd.init $(IDIR_RADVD)/etc/init.d/S51radvd
66 install -d -m0755 $(IDIR_RADVD)/usr/sbin
67 install -m 755 $(PKG_INSTALL_DIR)/usr/sbin/radvd $(IDIR_RADVD)/usr/sbin/
68 install -m 755 $(PKG_INSTALL_DIR)/usr/sbin/radvdump $(IDIR_RADVD)/usr/sbin/
69 $(RSTRIP) $(IDIR_RADVD)
70 $(IPKG_BUILD) $(IDIR_RADVD) $(PACKAGE_DIR)
This page took 0.05889 seconds and 5 git commands to generate.