Changeset 8651


Ignore:
Timestamp:
2007-09-06T16:32:33+02:00 (10 years ago)
Author:
olli
Message:

portmap:

  • Fix compilation
  • Cleanup Makefile
Location:
packages/net/portmap
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/portmap/Makefile

    • Property copyright changed from Copyright (C) 2006 OpenWrt.org to Copyright (C) 2007 OpenWrt.org
    r8650 r8651  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2007 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1616PKG_SOURCE_URL:=http://neil.brown.name/portmap/ 
    1717PKG_MD5SUM:=ac108ab68bf0f34477f8317791aaf1ff 
    18 PKG_CAT:=zcat 
    1918 
    20 PKG_BUILD_DIR:=$(PKG_NAME)_$(PKG_VERSION) 
     19PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) 
    2120 
    2221include $(INCLUDE_DIR)/package.mk 
     
    2625  CATEGORY:=Network 
    2726  DEPENDS:=+libwrap 
    28   TITLE:=RPC Portmapper 
     27  TITLE:=The RPC Portmapper 
    2928  URL:=ftp://ftp.porcupine.org/pub/security 
    3029endef 
    3130 
    32 define Build/Compile     
    33         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    34                 $(TARGET_CONFIGURE_OPTS) \ 
    35                 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ 
    36                 WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ 
    37                 all 
     31define Package/portmap/description 
     32 Portmap is a server that converts RPC (Remote Procedure Call) program 
     33 numbers into DARPA protocol port numbers. 
    3834endef 
    3935 
    40 define Package/portmap/install   
    41         $(INSTALL_DIR) $(1)/usr/sbin  
     36MAKE_FLAGS += \ 
     37        CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ 
     38        WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ 
     39        all 
     40 
     41define Package/portmap/install 
     42        $(INSTALL_DIR) $(1)/usr/sbin 
    4243        $(INSTALL_BIN) $(PKG_BUILD_DIR)/portmap $(1)/usr/sbin/ 
    43         $(INSTALL_DIR) $(1)/etc/init.d  
     44        $(INSTALL_DIR) $(1)/etc/init.d 
    4445        $(INSTALL_BIN) ./files/portmap.init $(1)/etc/init.d/portmap 
    4546endef 
Note: See TracChangeset for help on using the changeset viewer.