mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 06:56:16 +02:00
64caeb211d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1109 3c298f89-4303-0410-b956-a3cf2f4a3e73
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ndisc6
|
|
PKG_VERSION:=0.1.4
|
|
PKG_RELEASE:=1
|
|
PKG_MD5SUM:= 57e86029d41734404d62330961c3d20c
|
|
|
|
PKG_SOURCE_URL:=http://people.via.ecp.fr/~rem/ndisc6/v0.1/
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_CAT:=bzcat
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
$(eval $(call PKG_template,NDISC6,ndisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|
$(eval $(call PKG_template,RDISC6,rdisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
touch $@
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
all
|
|
touch $@
|
|
|
|
$(IPKG_NDISC6):
|
|
install -d -m0755 $(IDIR_NDISC6)/usr/bin
|
|
install -m0755 $(PKG_BUILD_DIR)/ndisc6 $(IDIR_NDISC6)/usr/bin/
|
|
$(RSTRIP) $(IDIR_NDISC6)
|
|
$(IPKG_BUILD) $(IDIR_NDISC6) $(PACKAGE_DIR)
|
|
|
|
$(IPKG_RDISC6):
|
|
install -d -m0755 $(IDIR_RDISC6)/usr/bin
|
|
install -m0755 $(PKG_BUILD_DIR)/rdisc6 $(IDIR_RDISC6)/usr/bin/
|
|
$(RSTRIP) $(IDIR_RDISC6)
|
|
$(IPKG_BUILD) $(IDIR_RDISC6) $(PACKAGE_DIR)
|