aboutsummaryrefslogtreecommitdiff
path: root/examples/gmp/gmp.p5m
blob: f8f64c8c351329177119d74f3c79c40508b7545d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set name=pkg.fmri value=pkg:/library/gmp@$(ips-version)
set name=pkg.summary value="$(summary)"
set name=info.upstream-url value="$(home)"
set name=info.source-url value="$(download)"

license $(license-file) license=$(license)

depend fmri=pkg:/library/gmp10@$(ips-version) type=require
depend fmri=pkg:/library/gmp10@$(ips-version) type=incorporate

dir path=usr
dir path=usr/include
dir path=usr/lib
dir path=usr/lib/$(MACH64)
dir path=usr/share
dir path=usr/share/info
file path=usr/include/gmp.h
file path=usr/share/info/gmp.info
file path=usr/share/info/gmp.info-1
file path=usr/share/info/gmp.info-2
link path=usr/lib/$(MACH64)/libgmp.so target=libgmp.so.10.0.5
link path=usr/lib/libgmp.so target=libgmp.so.10.0.5

# GMP 5.0 is upwardly source and binary compatible with 4.x,
# and 3.x versions, except for applications that use
# the semi-documented mpn_bdivmod function.
link path=usr/lib/$(MACH64)/libgmp.so.3 target=libgmp.so.10
link path=usr/lib/libgmp.so.3 target=libgmp.so.10