aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-17 15:12:56 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-17 15:12:56 +0400
commit1bf822ad2151ad81e6da1e8057a64bb2f252baab (patch)
treed00461bdd035901610a93b809bb870246cc88da8 /examples
parent5b2ef83cbe2e67382b1c09dd99fd2a8a6f919237 (diff)
downloadcibs-1bf822ad2151ad81e6da1e8057a64bb2f252baab.tar.gz
Example: libtool
Diffstat (limited to 'examples')
-rw-r--r--examples/libtool/Makefile26
-rw-r--r--examples/libtool/libltdl.p5m59
-rw-r--r--examples/libtool/libtool.p5m56
3 files changed, 141 insertions, 0 deletions
diff --git a/examples/libtool/Makefile b/examples/libtool/Makefile
new file mode 100644
index 0000000..f57c95b
--- /dev/null
+++ b/examples/libtool/Makefile
@@ -0,0 +1,26 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+#include /usr/share/cibs/rules/autoreconf.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
+include /usr/share/cibs/rules/64.mk
+
+
+summary := Generic library support script
+license := GPL
+license-file := COPYING
+
+build-depends += \
+
+# build-conflicts +=
+
+home := http://www.gnu.org/software/libtool/
+name := libtool
+version := 2.2.2
+archive := $(name)-$(version).tar.gz
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:9281a5f1976da110be872b1ba048d8ac \
+ sha1:41e0d829188083ab9f6bedf2b9eca89543dc0f8a \
+ sha256:c3963d969e13588fb142001d5a81c07962dc2ce7c03e2f4f551a29760e844a10 \
+ size:2223210
diff --git a/examples/libtool/libltdl.p5m b/examples/libtool/libltdl.p5m
new file mode 100644
index 0000000..c725a62
--- /dev/null
+++ b/examples/libtool/libltdl.p5m
@@ -0,0 +1,59 @@
+set name=pkg.fmri value=pkg:/library/libtool/libltdl@$(ips_version)
+set name=pkg.summary value="A system independent dlopen wrapper for GNU libtool"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+
+<transform dir file link path=.*/share/libtool/libltdl.* -> default facet.devel true>
+
+license libltdl/COPYING.LIB license=LGPL
+
+dir path=usr/share/libtool/libltdl
+dir path=usr/share/libtool/libltdl/libltdl
+dir path=usr/share/libtool/libltdl/loaders
+dir path=usr/include/libltdl
+file path=usr/share/libtool/libltdl/README
+file path=usr/share/libtool/libltdl/slist.c
+file path=usr/share/libtool/libltdl/Makefile.inc
+file path=usr/share/libtool/libltdl/lt__alloc.c
+file path=usr/share/libtool/libltdl/lt_dlloader.c
+file path=usr/share/libtool/libltdl/lt__dirent.c
+file path=usr/share/libtool/libltdl/aclocal.m4
+file path=usr/share/libtool/libltdl/argz_.h
+file path=usr/share/libtool/libltdl/configure.ac
+file path=usr/share/libtool/libltdl/configure
+file path=usr/share/libtool/libltdl/libltdl/lt__private.h
+file path=usr/share/libtool/libltdl/libltdl/lt_system.h
+file path=usr/share/libtool/libltdl/libltdl/lt__alloc.h
+file path=usr/share/libtool/libltdl/libltdl/lt_error.h
+file path=usr/share/libtool/libltdl/libltdl/lt__glibc.h
+file path=usr/share/libtool/libltdl/libltdl/lt__dirent.h
+file path=usr/share/libtool/libltdl/libltdl/lt__strl.h
+file path=usr/share/libtool/libltdl/libltdl/lt_dlloader.h
+file path=usr/share/libtool/libltdl/libltdl/slist.h
+file path=usr/share/libtool/libltdl/lt_error.c
+file path=usr/share/libtool/libltdl/ltdl.h
+file path=usr/share/libtool/libltdl/lt__strl.c
+file path=usr/share/libtool/libltdl/argz.c
+file path=usr/share/libtool/libltdl/Makefile.in
+file path=usr/share/libtool/libltdl/ltdl.c
+file path=usr/share/libtool/libltdl/Makefile.am
+file path=usr/share/libtool/libltdl/config-h.in
+file path=usr/share/libtool/libltdl/loaders/load_add_on.c
+file path=usr/share/libtool/libltdl/loaders/preopen.c
+file path=usr/share/libtool/libltdl/loaders/dlopen.c
+file path=usr/share/libtool/libltdl/loaders/dld_link.c
+file path=usr/share/libtool/libltdl/loaders/shl_load.c
+file path=usr/share/libtool/libltdl/loaders/dyld.c
+file path=usr/share/libtool/libltdl/loaders/loadlibrary.c
+file path=usr/share/libtool/libltdl/COPYING.LIB
+file path=usr/include/libltdl/lt_system.h
+file path=usr/include/libltdl/lt_dlloader.h
+file path=usr/include/libltdl/lt_error.h
+file path=usr/lib/libltdl.so.7.1.1
+file path=usr/lib/libltdl.a
+link path=usr/lib/libltdl.so.7 target=libltdl.so.7.1.1
+link path=usr/lib/libltdl.so target=libltdl.so.7.1.1
+file path=usr/lib/$(MACH64)/libltdl.so.7.1.1
+link path=usr/lib/$(MACH64)/libltdl.so.7 target=libltdl.so.7.1.1
+link path=usr/lib/$(MACH64)/libltdl.so target=libltdl.so.7.1.1
+file path=usr/lib/$(MACH64)/libltdl.a
diff --git a/examples/libtool/libtool.p5m b/examples/libtool/libtool.p5m
new file mode 100644
index 0000000..76545f1
--- /dev/null
+++ b/examples/libtool/libtool.p5m
@@ -0,0 +1,56 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license
+# at http://www.opensource.org/licenses/CDDL-1.0
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each file.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright (C) 2012, Nexenta Systems, Inc. All rights reserved.
+#
+
+
+set name=pkg.fmri value=pkg:/developer/build/$(name)@$(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)"
+
+dir path=usr
+dir path=usr/share
+dir path=usr/share/libtool
+dir path=usr/share/libtool/config
+dir path=usr/share/info
+dir path=usr/share/aclocal
+dir path=usr/bin
+file path=usr/share/libtool/config/config.guess
+file path=usr/share/libtool/config/missing
+file path=usr/share/libtool/config/depcomp
+file path=usr/share/libtool/config/compile
+file path=usr/share/libtool/config/install-sh
+file path=usr/share/libtool/config/ltmain.sh
+file path=usr/share/libtool/config/config.sub
+file path=usr/share/info/libtool.info
+file path=usr/share/info/libtool.info-1
+file path=usr/share/aclocal/ltoptions.m4
+file path=usr/share/aclocal/ltversion.m4
+file path=usr/share/aclocal/lt~obsolete.m4
+file path=usr/share/aclocal/ltdl.m4
+file path=usr/share/aclocal/libtool.m4
+file path=usr/share/aclocal/argz.m4
+file path=usr/share/aclocal/ltsugar.m4
+file path=usr/bin/libtool
+file path=usr/bin/libtoolize
+