Bump radvd to 1.2, cleanup makefile (#4230)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13336 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cc4e7f2042
commit
12a23b283a
@ -9,14 +9,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=radvd
|
PKG_NAME:=radvd
|
||||||
PKG_VERSION:=1.1
|
PKG_VERSION:=1.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
|
PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
|
||||||
http://download.sourcemage.org/mirror
|
http://download.sourcemage.org/mirror
|
||||||
PKG_MD5SUM:=9ee449e4b89171432cb9e9100e0b5648
|
PKG_MD5SUM:=614876420d76cd2bb5bcb49760c8b9e3
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -32,38 +32,14 @@ IPv6 Routing Advertisement Daemon.
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
$(call Build/Configure/Default,\
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
--with-configfile=/etc/radvd.conf \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
--with-logfile=/var/log/radvd.log \
|
||||||
./configure \
|
--with-pidfile=/var/run/radvd.pid \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
)
|
||||||
--host=$(GNU_TARGET_NAME) \
|
|
||||||
--build=$(GNU_HOST_NAME) \
|
|
||||||
--program-prefix="" \
|
|
||||||
--program-suffix="" \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--bindir=/usr/bin \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--includedir=/usr/include \
|
|
||||||
--infodir=/usr/share/info \
|
|
||||||
--libdir=/usr/lib \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
$(DISABLE_LARGEFILE) \
|
|
||||||
$(DISABLE_NLS) \
|
|
||||||
--with-configfile=/etc/radvd.conf \
|
|
||||||
--with-logfile=/var/log/radvd.log \
|
|
||||||
--with-pidfile=/var/run/radvd.pid \
|
|
||||||
);
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
radvd_LDADD=""
|
radvd_LDADD=""
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user