diff options
Diffstat (limited to 'examples/python2.7/libpython.p5m.gen')
-rwxr-xr-x | examples/python2.7/libpython.p5m.gen | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/python2.7/libpython.p5m.gen b/examples/python2.7/libpython.p5m.gen new file mode 100755 index 0000000..c724c34 --- /dev/null +++ b/examples/python2.7/libpython.p5m.gen @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e +set -u + +tmp=/tmp/cibs-python-minimal.$$ + +proto=${proto:-work/proto/libpython} + +cat <<'META' > $tmp +set name=pkg.fmri value=pkg:/library/libpython$(pyver)@$(ips-version) +set name=pkg.summary value="Shared Python runtime library (version $(pyver))" +set name=info.upstream-url value="$(home)" +set name=info.source-url value="$(download)" + +license $(license-file) license="$(license)" + +META + +/usr/share/cibs/scripts/make-payload $proto >> $tmp +cat $tmp +rm $tmp + |