Andrzej Szeszo
2013-06-04 453bf5a3004107204e1858532a38b3e703e32995
commit | author | age
2c711f 1 #
RB 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 #
d15ef0 22 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
2c711f 23 #
RB 24
25 include ../../make-rules/shared-macros.mk
26
27 COMPONENT_NAME=        rdiff-backup
f191da 28 COMPONENT_VERSION=    1.3.3
2c711f 29 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
RB 30 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
35e110 31 COMPONENT_ARCHIVE_HASH=    \
MS 32     sha256:ee030ce638df0eb1047cf72578e0de15d9a3ee9ab24da2dc0023e2978be30c06
2c711f 33 COMPONENT_ARCHIVE_URL=    http://download.savannah.gnu.org/releases/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
RB 34 COMPONENT_PROJECT_URL=  http://www.nongnu.org/rdiff-backup/
3b89c9 35 COMPONENT_BUGDB=    utility/rdiff-backup
2c711f 36
RB 37 include $(WS_TOP)/make-rules/prep.mk
38 include $(WS_TOP)/make-rules/ips.mk
39 include $(WS_TOP)/make-rules/setup.py.mk
40
d15ef0 41 # Needed to get around a broken /usr/lib/python2.7/config/Makefile
RB 42 # See CR #16837431.
43 LD=$(CC)
44 LDSHARED=$(CC) -G $(CC_BITS)
45 CFLAGS= $(CC_BITS)
46 CPPFLAGS=
47 LDFLAGS=
48 PYTHON_ENV += CC="$(CC)"
49 PYTHON_ENV += LDSHARED="$(LDSHARED)"
50 PYTHON_ENV += LD="$(LD)"
51 PYTHON_ENV += CFLAGS="$(CFLAGS)"
52 PYTHON_ENV += CPPFLAGS="$(CPPFLAGS)"
53 PYTHON_ENV += LDFLAGS="$(LDFLAGS)"
54 COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
fa74c0 55
2c711f 56 # common targets
RB 57
d15ef0 58 build:        $(BUILD_64)
2c711f 59
d15ef0 60 install:    $(INSTALL_64)
2c711f 61
RB 62 test:        $(NO_TESTS)
63
64 BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
65
66 include $(WS_TOP)/make-rules/depend.mk