components/gparted/Makefile
changeset 5330 c36e3195e3e9
child 5332 1e1d90972404
equal deleted inserted replaced
5328:34fe0d5ec7b7 5330:c36e3195e3e9
       
     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 
       
    22 #
       
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include ../../make-rules/shared-macros.mk
       
    27 
       
    28 COMPONENT_NAME=		gparted
       
    29 COMPONENT_VERSION=	0.4.5
       
    30 COMPONENT_PROJECT_URL=	http://gparted.sourceforge.net/
       
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
       
    33 COMPONENT_ARCHIVE_HASH=	\
       
    34     sha256:a0a102ee51c1d70fa1c786c77a613111179ce81efccb637bd04aef525199b93f
       
    35 COMPONENT_ARCHIVE_URL=	http://prdownloads.sourceforge.net/gparted/$(COMPONENT_ARCHIVE)
       
    36 COMPONENT_BUGDB=	utility/gparted
       
    37 
       
    38 TPNO=			7497
       
    39 
       
    40 # we're i386-only
       
    41 ifeq ($(MACH), sparc)
       
    42 PUBLISH_STAMP=
       
    43 endif
       
    44 
       
    45 include $(WS_MAKE_RULES)/prep.mk
       
    46 include $(WS_MAKE_RULES)/configure.mk
       
    47 include $(WS_MAKE_RULES)/ips.mk
       
    48 
       
    49 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
       
    50 
       
    51 CC += $(CC_BITS)
       
    52 CXX += $(CC_BITS)
       
    53 
       
    54 # needed to find xgettext
       
    55 PATH=/usr/gnu/bin:/usr/bin
       
    56 CONFIGURE_OPTIONS +=    CFLAGS="$(CFLAGS)"
       
    57 CONFIGURE_OPTIONS +=	CXX="$(CXX) -norunpath"
       
    58 
       
    59 ASLR_MODE =	$(ASLR_ENABLE)
       
    60 
       
    61 # common targets, we're i386-only
       
    62 
       
    63 build_sparc:
       
    64 	@echo "Not available."
       
    65 
       
    66 configure:	$(CONFIGURE_32)
       
    67 
       
    68 build_i386:	$(BUILD_32)
       
    69 
       
    70 build:		build_$(MACH)
       
    71 
       
    72 install:	$(INSTALL_32) 
       
    73 
       
    74 test:           $(NO_TESTS)
       
    75 
       
    76 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    77 
       
    78 REQUIRED_PACKAGES += library/c++/glibmm
       
    79 REQUIRED_PACKAGES += library/c++/sigcpp
       
    80 REQUIRED_PACKAGES += library/desktop/c++/cairomm
       
    81 REQUIRED_PACKAGES += library/desktop/c++/gtkmm
       
    82 REQUIRED_PACKAGES += library/desktop/c++/pangomm
       
    83 REQUIRED_PACKAGES += library/desktop/gtk2
       
    84 REQUIRED_PACKAGES += library/glib2
       
    85 REQUIRED_PACKAGES += shell/ksh93
       
    86 REQUIRED_PACKAGES += system/library
       
    87 REQUIRED_PACKAGES += system/library/c++-runtime
       
    88 REQUIRED_PACKAGES += system/storage/parted