Changeset 4256


Ignore:
Timestamp:
2006-07-24T14:56:59+02:00 (12 years ago)
Author:
nico
Message:

port cifsmount to buildroot-ng

Location:
packages/utils/cifsmount
Files:
2 deleted
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • packages/utils/cifsmount/Makefile

    r2387 r4256  
     1#  
     2# Copyright (C) 2006 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
    17# $Id$ 
    28 
     
    915PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount 
    1016 
    11 include $(TOPDIR)/package/rules.mk 
     17include $(INCLUDE_DIR)/package.mk 
    1218 
    13 $(eval $(call PKG_template,CIFSMOUNT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     19define Package/cifsmount 
     20  SECTION:=utils 
     21  CATEGORY:=Utilities 
     22  TITLE:=CIFS mounting helper utility 
     23  DESCRIPTION:=Helper utility for mounting remote CIFS shares.\\\ 
     24    An user space helper for mounting remote CIFS shares 
     25endef 
    1426 
    15 $(PKG_BUILD_DIR)/.prepared: 
     27define Build/Prepare 
    1628        mkdir -p $(PKG_BUILD_DIR) 
    17         touch $@ 
     29endef 
    1830 
    19 $(PKG_BUILD_DIR)/.configured: 
    20         touch $@ 
     31define Build/Configure 
     32endef 
    2133 
    22 $(PKG_BUILD_DIR)/.built: 
     34define Build/Compile 
    2335        $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c 
    24         touch $@ 
     36endef 
    2537 
    26 $(IPKG_CIFSMOUNT): 
    27         install -d -m0755 $(IDIR_CIFSMOUNT)/sbin 
    28         install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/ 
    29         $(RSTRIP) $(IDIR_CIFSMOUNT) 
    30         $(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR) 
     38define Package/cifsmount/install 
     39        install -d -m0755 $(1)/sbin 
     40        install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/ 
     41endef 
     42 
     43$(eval $(call BuildPackage,cifsmount)) 
Note: See TracChangeset for help on using the changeset viewer.