components/rsync/Makefile
changeset 50 dc11f95a7150
parent 49 13d31a6d756e
child 51 4e71a2b139b2
equal deleted inserted replaced
49:13d31a6d756e 50:dc11f95a7150
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
       
    22 #
       
    23 include ../../make-rules/shared-macros.mk
       
    24 
       
    25 COMPONENT_NAME=		rsync
       
    26 COMPONENT_VERSION=	3.0.7
       
    27 IPS_PKG_NAME=		network/rsync
       
    28 COMPONENT_DESCRIPTION=	"utility for fast incremental file transfer"
       
    29 COMPONENT_CLASSIFICATION="Applications/System Utilities"
       
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    31 COMPONENT_PROJECT_URL=	http://www.samba.org/rsync/
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    33 COMPONENT_ARCHIVE_HASH=	sha1:63426a1bc71991d93159cd522521fbacdafb7a61
       
    34 COMPONENT_ARCHIVE_URL=	http://www.samba.org/ftp/$(COMPONENT_NAME)/src/$(COMPONENT_ARCHIVE)
       
    35 
       
    36 include ../../make-rules/prep.mk
       
    37 include ../../make-rules/configure.mk
       
    38 include ../../make-rules/ips.mk
       
    39 
       
    40 CONFIGURE_OPTIONS  +=		--with-included-popt
       
    41 COMPONENT_BUILD_TARGETS +=	all
       
    42 COMPONENT_BUILD_TARGETS +=	man
       
    43 
       
    44 # common targets
       
    45 build:		$(BUILD_32)
       
    46 
       
    47 install:	$(INSTALL_32)
       
    48 
       
    49 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    50 
       
    51 REQUIRED_TOOL +=	/sbin/uname
       
    52 REQUIRED_TOOL +=	/usr/bin/arch
       
    53 REQUIRED_TOOL +=	/usr/bin/awk
       
    54 REQUIRED_TOOL +=	/usr/bin/basename
       
    55 REQUIRED_TOOL +=	/usr/bin/bash
       
    56 REQUIRED_TOOL +=	/usr/bin/chmod
       
    57 REQUIRED_TOOL +=	/usr/bin/cp
       
    58 REQUIRED_TOOL +=	/usr/bin/diff
       
    59 REQUIRED_TOOL +=	/usr/bin/dirname
       
    60 REQUIRED_TOOL +=	/usr/bin/echo
       
    61 REQUIRED_TOOL +=	/usr/bin/env
       
    62 REQUIRED_TOOL +=	/usr/bin/expr
       
    63 REQUIRED_TOOL +=	/usr/bin/find
       
    64 REQUIRED_TOOL +=	/usr/bin/ggrep
       
    65 REQUIRED_TOOL +=	/usr/bin/ginstall
       
    66 REQUIRED_TOOL +=	/usr/bin/gmake
       
    67 REQUIRED_TOOL +=	/usr/bin/grep
       
    68 REQUIRED_TOOL +=	/usr/bin/gtar
       
    69 REQUIRED_TOOL +=	/usr/bin/gzip 
       
    70 REQUIRED_TOOL +=	/usr/bin/hostname
       
    71 REQUIRED_TOOL +=	/usr/bin/ksh93
       
    72 REQUIRED_TOOL +=	/usr/bin/ld
       
    73 REQUIRED_TOOL +=	/usr/bin/ln
       
    74 REQUIRED_TOOL +=	/usr/bin/ls
       
    75 REQUIRED_TOOL +=	/usr/bin/mkdir
       
    76 REQUIRED_TOOL +=	/usr/bin/mv
       
    77 REQUIRED_TOOL +=	/usr/bin/rm
       
    78 REQUIRED_TOOL +=	/usr/bin/sed
       
    79 REQUIRED_TOOL +=	/usr/bin/sort
       
    80 REQUIRED_TOOL +=	/usr/bin/touch
       
    81 REQUIRED_TOOL +=	/usr/bin/tr
       
    82 REQUIRED_TOOL +=	/usr/perl5/bin/perl
       
    83 REQUIRED_TOOL +=	$(SPRO_VROOT)/bin/cc
       
    84 
       
    85 REQUIRED_FILE +=	/lib/libnsl.so
       
    86 REQUIRED_FILE +=	/lib/libsec.so
       
    87 REQUIRED_FILE +=	/lib/libsocket.so
       
    88 REQUIRED_FILE +=	/usr/bin/arch
       
    89 REQUIRED_FILE +=	/usr/include/alloca.h
       
    90 REQUIRED_FILE +=	/usr/include/arpa/inet.h
       
    91 REQUIRED_FILE +=	/usr/include/assert.h
       
    92 REQUIRED_FILE +=	/usr/include/ctype.h
       
    93 REQUIRED_FILE +=	/usr/include/dirent.h
       
    94 REQUIRED_FILE +=	/usr/include/errno.h
       
    95 REQUIRED_FILE +=	/usr/include/fcntl.h
       
    96 REQUIRED_FILE +=	/usr/include/float.h
       
    97 REQUIRED_FILE +=	/usr/include/grp.h
       
    98 REQUIRED_FILE +=	/usr/include/iconv.h
       
    99 REQUIRED_FILE +=	/usr/include/langinfo.h
       
   100 REQUIRED_FILE +=	/usr/include/libintl.h
       
   101 REQUIRED_FILE +=	/usr/include/limits.h
       
   102 REQUIRED_FILE +=	/usr/include/locale.h
       
   103 REQUIRED_FILE +=	/usr/include/malloc.h
       
   104 REQUIRED_FILE +=	/usr/include/math.h
       
   105 REQUIRED_FILE +=	/usr/include/netdb.h
       
   106 REQUIRED_FILE +=	/usr/include/netinet/in_systm.h
       
   107 REQUIRED_FILE +=	/usr/include/netinet/in.h
       
   108 REQUIRED_FILE +=	/usr/include/netinet/ip.h
       
   109 REQUIRED_FILE +=	/usr/include/netinet/ip6.h
       
   110 REQUIRED_FILE +=	/usr/include/netinet/tcp.h
       
   111 REQUIRED_FILE +=	/usr/include/popt.h
       
   112 REQUIRED_FILE +=	/usr/include/pwd.h
       
   113 REQUIRED_FILE +=	/usr/include/signal.h
       
   114 REQUIRED_FILE +=	/usr/include/stdarg.h
       
   115 REQUIRED_FILE +=	/usr/include/stdbool.h
       
   116 REQUIRED_FILE +=	/usr/include/stddef.h
       
   117 REQUIRED_FILE +=	/usr/include/stdio.h
       
   118 REQUIRED_FILE +=	/usr/include/stdlib.h
       
   119 REQUIRED_FILE +=	/usr/include/string.h
       
   120 REQUIRED_FILE +=	/usr/include/strings.h
       
   121 REQUIRED_FILE +=	/usr/include/sys/acl.h
       
   122 REQUIRED_FILE +=	/usr/include/sys/attr.h
       
   123 REQUIRED_FILE +=	/usr/include/sys/fcntl.h
       
   124 REQUIRED_FILE +=	/usr/include/sys/file.h
       
   125 REQUIRED_FILE +=	/usr/include/sys/filio.h
       
   126 REQUIRED_FILE +=	/usr/include/sys/ioctl.h
       
   127 REQUIRED_FILE +=	/usr/include/sys/mkdev.h
       
   128 REQUIRED_FILE +=	/usr/include/sys/mode.h
       
   129 REQUIRED_FILE +=	/usr/include/sys/param.h
       
   130 REQUIRED_FILE +=	/usr/include/sys/select.h
       
   131 REQUIRED_FILE +=	/usr/include/sys/socket.h
       
   132 REQUIRED_FILE +=	/usr/include/sys/stat.h
       
   133 REQUIRED_FILE +=	/usr/include/sys/time.h
       
   134 REQUIRED_FILE +=	/usr/include/sys/types.h
       
   135 REQUIRED_FILE +=	/usr/include/sys/un.h
       
   136 REQUIRED_FILE +=	/usr/include/sys/wait.h
       
   137 REQUIRED_FILE +=	/usr/include/syslog.h
       
   138 REQUIRED_FILE +=	/usr/include/time.h
       
   139 REQUIRED_FILE +=	/usr/include/unistd.h
       
   140 REQUIRED_FILE +=	/usr/include/utime.h
       
   141 REQUIRED_FILE +=	/usr/include/wchar.h
       
   142 
       
   143 include ../../make-rules/depend.mk