Ignore:
Timestamp:
2010-04-25T23:13:31+02:00 (7 years ago)
Author:
axel
Message:

[packages] /net/bmxd: update to revision 1636, adapt Makefile, do not overwrite /etc/config/bmxd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/bmxd/Makefile

    r18911 r21160  
    1111PKG_SOURCE_URL:=http://downloads.open-mesh.net/svn/batman/trunk/batman-experimental/ 
    1212 
    13 PKG_REV:=1075 
     13PKG_REV:=1636 
    1414PKG_VERSION:=r$(PKG_REV) 
    1515PKG_RELEASE:=1 
     16PKG_EXTRA_CFLAGS:=-DNODEBUGALL 
    1617 
    1718PKG_SOURCE_PROTO:=svn 
     
    2526define Package/bmxd/Default 
    2627  URL:=https://www.open-mesh.net/ 
     28  MAINTAINER:=Axel Neumann <bmxd@neumann.cgws.de> 
    2729endef 
    2830 
     
    3133  SECTION:=net 
    3234  CATEGORY:=Network 
    33   DEPENDS:=+libpthread +kmod-tun 
    34   TITLE:=B.A.T.M.A.N. Experimental (BMX) layer 3 routing daemon 
     35  DEPENDS:=+kmod-tun 
     36  TITLE:=B.a.t.M.a.n. eXperimental (BMX) layer 3 routing daemon 
    3537endef 
    3638 
     39define Package/bmxd/conffiles 
     40/etc/config/bmxd 
     41endef 
     42 
     43 
    3744define Package/bmxd/description 
    38 B.A.T.M.A.N. Experimental (BMX) layer 3 routing daemon 
     45B.a.t.M.a.n. eXperimental (BMX) layer 3 routing daemon 
    3946endef 
    4047 
    4148MAKE_ARGS += \ 
    42         EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ 
     49        EXTRA_CFLAGS="$(TARGET_CFLAGS) $(PKG_EXTRA_CFLAGS)" \ 
    4350        CCFLAGS="$(TARGET_CFLAGS)" \ 
    4451        OFLAGS="$(TARGET_CFLAGS)" \ 
     
    4754        NODEBUG=1 \ 
    4855        UNAME="Linux" \ 
    49         INSTALL_DIR="$(PKG_INSTALL_DIR)" \ 
     56        INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ 
    5057        STRIP="/bin/true" \ 
    51         batmand install 
     58        bmxd install 
    5259 
    5360define Build/Compile 
    54         mkdir -p $(PKG_INSTALL_DIR)/bin 
     61        mkdir -p $(PKG_INSTALL_DIR)/usr/sbin 
    5562        $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_ARGS) 
    5663endef 
     
    5865define Package/bmxd/install 
    5966        $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d 
    60         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/batmand $(1)/usr/sbin/bmxd 
     67        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bmxd $(1)/usr/sbin/bmxd 
    6168        $(INSTALL_BIN) ./files/etc/init.d/bmxd $(1)/etc/init.d 
    6269        $(INSTALL_DATA) ./files/etc/config/bmxd $(1)/etc/config 
Note: See TracChangeset for help on using the changeset viewer.