2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
14 # Copyright 2018 Harry Liebel <hliebel@gmail.com>
15 # Copyright 2019 Michal Nowak
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 3.3.1
22 COMPONENT_SUMMARY
= GNU slib
- a portable library for the Scheme programming language
23 COMPONENT_DESCRIPTION
= SLIB is a portable scheme library providing compatibility and utility functions for standard Scheme implementations.
24 COMPONENT_PROJECT_URL
= https
://people.csail.mit.edu
/jaffer
/SLIB.html
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).zip
27 COMPONENT_ARCHIVE_HASH
= sha256
:c2f8eb98e60530df53211985d4b403b6e97a7a969833c1a6d1bf83561da0c781
28 COMPONENT_ARCHIVE_URL
= https
://groups.csail.mit.edu
/mac
/ftpdir
/scm
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/slib
30 COMPONENT_CLASSIFICATION
=Development
/Other Languages
31 COMPONENT_LICENSE
= BSD-like
, PD
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_POST_UNPACK_ACTION
= ( $(MV
) $(COMPONENT_NAME
) $(COMPONENT_SRC
) )
37 COMPONENT_PRE_CONFIGURE_ACTION
+= $(CLONEY
) $(SOURCE_DIR
) $(@D
)
39 # Remove configure options it does not understand, it is very simple.
40 # These as scripts, but binaries might look in the 32/64bit library path.
41 CONFIGURE_OPTIONS
= --prefix=$(CONFIGURE_PREFIX
)
42 CONFIGURE_OPTIONS
+= --mandir=$(CONFIGURE_MANDIR
)
43 CONFIGURE_OPTIONS
+= --bindir=$(CONFIGURE_BINDIR.
$(BITS
))
44 CONFIGURE_OPTIONS
+= --libdir=$(CONFIGURE_LIBDIR.
$(BITS
))
45 CONFIGURE_OPTIONS
+= --sbindir
=$(CONFIGURE_SBINDIR.
$(BITS
))
47 COMPONENT_INSTALL_ENV
+= SCHEME_LIBRARY_PATH
=$(SOURCE_DIR
)
49 COMPONENT_INSTALL_ARGS
+= INSTALL
=ginstall
50 COMPONENT_INSTALL_ARGS
+= INSTALL_INFO
=install-info
52 # This disables regenerating the color database, which does not work
53 COMPONENT_PRE_INSTALL_ACTION
+= (touch
$(SOURCE_DIR
)/clrnamdb.scm
);
55 # Manually added dependencies
56 REQUIRED_PACKAGES
+= file
/gnu-coreutils
57 REQUIRED_PACKAGES
+= library
/guile
58 REQUIRED_PACKAGES
+= text
/texinfo
59 REQUIRED_PACKAGES
+= compress
/gzip
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES
+= shell/ksh93