Merge pull request #2528 from alarcher/sudosh2
[unleashed-userland.git] / components / slib / Makefile
blobd2bfd1e7b874dcb0d15b40c1df191bb501dd6efa
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25 # This build is modeled after the one in SFW.
26 # Attempts to use the native build methods fail because we
27 # don't have the scm (scheme) interpreter.
28 # So just install this and get on with it.
30 include ../../make-rules/shared-macros.mk
32 COMPONENT_NAME= slib
33 COMPONENT_VERSION= 3b1
34 COMPONENT_PROJECT_URL= http://people.csail.mit.edu/jaffer/SLIB/
35 COMPONENT_SRC= $(COMPONENT_NAME)
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-$(COMPONENT_VERSION).zip
37 COMPONENT_ARCHIVE_HASH= \
38 sha256:8e3ec24d51be03ebb7357ad9a2f3554056b86dafbc9e48d1d491aeda1efa566f
39 COMPONENT_ARCHIVE_URL= http://groups.csail.mit.edu/mac/ftpdir/scm/OLD/$(COMPONENT_ARCHIVE)
40 COMPONENT_BUGDB= library/slib
42 include ../../make-rules/prep.mk
43 include ../../make-rules/ips.mk
45 # Lie to IPS packaging about the version because it doesn't like
46 # COMPONENT_VERSION's with letters.
47 # So if COMPONENT_VERSION changes above this needs to change as well.
48 IPS_COMPONENT_VERSION= 3.1.1
50 # nothing to really build
51 build: $(SOURCE_DIR)/.prep
53 install: build
54 cd $(SOURCE_DIR) ; \
55 $(MAKE) prefix=$(PROTO_DIR)/usr/ INSTALL=ginstall \
56 man1dir=$(PROTOUSRSHAREMAN1DIR) install
58 test: $(NO_TESTS)
60 clean::
61 $(RM) -r $(BUILD_DIR)
63 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
65 include ../../make-rules/depend.mk