freeciv: update to 3.1.4
[oi-userland.git] / components / scientific / pari-elldata / Makefile
blob90c227b3ea56560e344dc125c6f19c841add5129
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
5 # 1.0 of the CDDL.
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 # IPS package Copyright 2024 David Stes
15 # name and version of package same as in Debian Linux
17 # J. E. Cremona Elliptic Curve Data for PARI/GP
18 # =============================================
20 # This is the PARI/GP version of J. E. Cremona Elliptic Curve Data
21 # <https://github.com/JohnCremona/ecdata/>
23 # This package contains elliptic curves defined over the rationals representing
24 # all isogeny classes for all conductor less than 500000. Theses data are needed
25 # by ellsearch, ellidentify and ellgenerators and require PARI/GP 2.2.11 and up.
27 # Note that the numbering of curves inside isogeny classes follows the update
28 # from 20/08/2019. See
29 # https://raw.githubusercontent.com/JohnCremona/ecdata/master/doc/release_notes.md
31 # See <http://pari.math.u-bordeaux.fr/packages.html> for other PARI/GP packages.
33 # The data is available under TheArtistic License 2.0:
34 # see the file LICENSE for details.
37 BUILD_STYLE= archive
38 BUILD_BITS = NO_ARCH
40 include ../../../make-rules/shared-macros.mk
42 COMPONENT_NAME= pari-elldata
43 COMPONENT_SRC= data
44 COMPONENT_VERSION= 0.20210301
45 COMPONENT_SUMMARY= PARI/GP Computer Algebra System elliptic curves (elldata)
46 COMPONENT_PROJECT_URL= https://pari.math.u-bordeaux.fr
47 COMPONENT_FMRI= library/math/$(COMPONENT_NAME)
48 COMPONENT_CLASSIFICATION= Development/Other Languages
49 COMPONENT_ARCHIVE= elldata.tgz
50 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/pari/packages/$(COMPONENT_ARCHIVE)
51 COMPONENT_ARCHIVE_HASH= \
52 sha256:dd551e64932d4ab27b3f2b2d1da871c2353672fc1a74705c52e3c0de84bd0cf6
53 COMPONENT_LICENSE= The Artistic License 2.0
54 COMPONENT_LICENSE_FILE= LICENSE
56 USRSHAREPARI=/usr/share/pari
57 BUILD_TARGET = $(BUILD_$(MK_BITS))
58 INSTALL_TARGET = $(INSTALL_$(MK_BITS))
60 include $(WS_MAKE_RULES)/common.mk
62 $(BUILD_$(MK_BITS)): $(SOURCE_DIR)/.prep
63 $(MKDIR) $(@D)
64 $(TOUCH) $@
66 $(INSTALL_$(MK_BITS)): $(BUILD_$(MK_BITS))
67 $(MKDIR) $(PROTO_DIR)/$(USRSHAREPARI)
68 $(GTAR) cpf - -C $(SOURCE_DIR) --exclude './.*' . | $(GTAR) xpvf - -C $(PROTO_DIR)/$(USRSHAREPARI)
69 $(TOUCH) $@
71 clean::
72 $(RM) -r $(BUILD_DIR) $(PROTO_DIR)
74 # Auto-generated dependencies