components/slrn/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 800 2ad056ed89ec
child 1058 34d7aaa03423
permissions -rw-r--r--
Close of build 04.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
310
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     1
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     3
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     7
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    12
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    18
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    20
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    21
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    22
#
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    23
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
310
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    24
#
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    25
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    27
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		slrn
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	0.9.9
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    30
COMPONENT_SUBVERSION=	p1
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 310
diff changeset
    31
HUMAN_VERSION=		$(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 582
diff changeset
    32
COMPONENT_PROJECT_URL=	http://slrn.sourceforge.net/
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 310
diff changeset
    33
COMPONENT_SRC=		$(COMPONENT_NAME)-$(HUMAN_VERSION)
310
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    36
    sha256:3a896f42b78c32252878fd291b21d6482d466921b68ab97f7d8cbadf4a76b533
310
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    37
COMPONENT_ARCHIVE_URL=	ftp://space.mit.edu/pub/davis/slrn/$(COMPONENT_ARCHIVE)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    38
IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).1
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    39
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    40
include ../../make-rules/prep.mk
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    41
include ../../make-rules/configure.mk
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    42
include ../../make-rules/ips.mk
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    43
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    44
COMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    45
CONFIGURE_SCRIPT = $(@D)/configure
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    46
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    47
# slrn configure test for 'mkdir -p' functionality doesn't like Solaris
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    48
# implementation (GNU mkdir will understand --version option).
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    49
PATH=/usr/gnu/bin:/usr/bin
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    50
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS +=	--sysconfdir=/etc
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS +=	--with-server-file=/etc/nntpserver
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS +=	--with-slrnpull=/var/spool/slrnpull
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS +=	--enable-spool
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    55
CONFIGURE_OPTIONS +=	--with-ssl
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    56
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    57
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    58
# common targets
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    59
build:		$(BUILD_32)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    60
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    61
install:	$(INSTALL_32)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    62
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    63
test:		$(NO_TESTS)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    64
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    65
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    66
b0817fac4d08 7054961 Move slrn to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    67
include ../../make-rules/depend.mk