diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-24 15:46:44 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-24 15:46:44 +0400 |
commit | b63e7ef9672dabc8c81e2f036c16d6c4e1c3d156 (patch) | |
tree | be5b7e96011720821f77ab9b71fbf4a199211721 /examples | |
parent | c5fafacd657740f9f83caebad213ee67839a44af (diff) | |
download | cibs-b63e7ef9672dabc8c81e2f036c16d6c4e1c3d156.tar.gz |
Example: PCRE
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pcre/Makefile | 22 | ||||
-rw-r--r-- | examples/pcre/libpcre.p5m | 133 | ||||
-rw-r--r-- | examples/pcre/libpcrecpp.p5m | 44 |
3 files changed, 199 insertions, 0 deletions
diff --git a/examples/pcre/Makefile b/examples/pcre/Makefile new file mode 100644 index 0000000..610fcec --- /dev/null +++ b/examples/pcre/Makefile @@ -0,0 +1,22 @@ +include /usr/share/cibs/rules/ips.mk +include /usr/share/cibs/rules/archive.mk +include /usr/share/cibs/rules/autotools.mk +include /usr/share/cibs/rules/32.mk +include /usr/share/cibs/rules/64.mk + +summary := Perl Compatible Regular Expressions +license := BSD +license-file := LICENCE + +# build-conflicts += + +home := http://www.pcre.org/ +name := pcre +version := 8.31 +archive := $(name)-$(version).tar.bz2 +download := http://sourceforge.net/projects/$(name)/files/$(name)/$(version)/$(archive)/download +checksum := \ + md5:1c9a276af932b5599157f96e945391f0 \ + sha1:1132276bb8bea7cb0662210fb812fbef7791621f \ + sha256:5778a02535473c7ee7838ea598c19f451e63cf5eec0bf0307a688301c9078c3c \ + size:1257162 diff --git a/examples/pcre/libpcre.p5m b/examples/pcre/libpcre.p5m new file mode 100644 index 0000000..3362037 --- /dev/null +++ b/examples/pcre/libpcre.p5m @@ -0,0 +1,133 @@ +# +# 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:/library/libpcre@$(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)" + +<transform file dir link path=.*pcre-config.* -> default facet.devel true> + +dir path=usr +dir path=usr/include +dir path=usr/lib +dir path=usr/lib/$(MACH64) +dir path=usr/lib/$(MACH64)/pkgconfig +dir path=usr/lib/pkgconfig +dir path=usr/share +dir path=usr/share/man +dir path=usr/share/man/man1 +dir path=usr/share/man/man3 +file path=usr/bin/$(MACH64)/pcre-config +file path=usr/bin/pcre-config +file path=usr/include/pcre_scanner.h +file path=usr/include/pcre_stringpiece.h +file path=usr/include/pcre.h +file path=usr/include/pcreposix.h +file path=usr/lib/$(MACH64)/libpcre.so.1.0.1 +file path=usr/lib/$(MACH64)/libpcreposix.so.0.0.1 +file path=usr/lib/$(MACH64)/pkgconfig/libpcre.pc +file path=usr/lib/$(MACH64)/pkgconfig/libpcreposix.pc +file path=usr/lib/libpcre.so.1.0.1 +file path=usr/lib/libpcreposix.so.0.0.1 +file path=usr/lib/pkgconfig/libpcre.pc +file path=usr/lib/pkgconfig/libpcreposix.pc +file path=usr/share/man/man1/pcre-config.1 +file path=usr/share/man/man3/pcre_assign_jit_stack.3 +file path=usr/share/man/man3/pcre_compile.3 +file path=usr/share/man/man3/pcre_compile2.3 +file path=usr/share/man/man3/pcre_config.3 +file path=usr/share/man/man3/pcre_copy_named_substring.3 +file path=usr/share/man/man3/pcre_copy_substring.3 +file path=usr/share/man/man3/pcre_dfa_exec.3 +file path=usr/share/man/man3/pcre_exec.3 +file path=usr/share/man/man3/pcre_free_study.3 +file path=usr/share/man/man3/pcre_free_substring_list.3 +file path=usr/share/man/man3/pcre_free_substring.3 +file path=usr/share/man/man3/pcre_fullinfo.3 +file path=usr/share/man/man3/pcre_get_named_substring.3 +file path=usr/share/man/man3/pcre_get_stringnumber.3 +file path=usr/share/man/man3/pcre_get_stringtable_entries.3 +file path=usr/share/man/man3/pcre_get_substring_list.3 +file path=usr/share/man/man3/pcre_get_substring.3 +file path=usr/share/man/man3/pcre_jit_stack_alloc.3 +file path=usr/share/man/man3/pcre_jit_stack_free.3 +file path=usr/share/man/man3/pcre_maketables.3 +file path=usr/share/man/man3/pcre_pattern_to_host_byte_order.3 +file path=usr/share/man/man3/pcre_refcount.3 +file path=usr/share/man/man3/pcre_study.3 +file path=usr/share/man/man3/pcre_utf16_to_host_byte_order.3 +file path=usr/share/man/man3/pcre_version.3 +file path=usr/share/man/man3/pcre.3 +file path=usr/share/man/man3/pcre16.3 +file path=usr/share/man/man3/pcreapi.3 +file path=usr/share/man/man3/pcrebuild.3 +file path=usr/share/man/man3/pcrecallout.3 +file path=usr/share/man/man3/pcrecompat.3 +file path=usr/share/man/man3/pcrejit.3 +file path=usr/share/man/man3/pcrelimits.3 +file path=usr/share/man/man3/pcrematching.3 +file path=usr/share/man/man3/pcrepartial.3 +file path=usr/share/man/man3/pcrepattern.3 +file path=usr/share/man/man3/pcreperform.3 +file path=usr/share/man/man3/pcreposix.3 +file path=usr/share/man/man3/pcreprecompile.3 +file path=usr/share/man/man3/pcresample.3 +file path=usr/share/man/man3/pcrestack.3 +file path=usr/share/man/man3/pcresyntax.3 +file path=usr/share/man/man3/pcreunicode.3 +link path=usr/lib/$(MACH64)/libpcre.so target=libpcre.so.1.0.1 +link path=usr/lib/$(MACH64)/libpcre.so.1 target=libpcre.so.1.0.1 +link path=usr/lib/$(MACH64)/libpcreposix.so target=libpcreposix.so.0.0.1 +link path=usr/lib/$(MACH64)/libpcreposix.so.0 target=libpcreposix.so.0.0.1 +link path=usr/lib/libpcre.so target=libpcre.so.1.0.1 +link path=usr/lib/libpcre.so.1 target=libpcre.so.1.0.1 +link path=usr/lib/libpcreposix.so target=libpcreposix.so.0.0.1 +link path=usr/lib/libpcreposix.so.0 target=libpcreposix.so.0.0.1 +link path=usr/share/man/man3/pcre16_assign_jit_stack.3 target=pcre_assign_jit_stack.3 +link path=usr/share/man/man3/pcre16_compile.3 target=pcre_compile.3 +link path=usr/share/man/man3/pcre16_compile2.3 target=pcre_compile2.3 +link path=usr/share/man/man3/pcre16_config.3 target=pcre_config.3 +link path=usr/share/man/man3/pcre16_copy_named_substring.3 target=pcre_copy_named_substring.3 +link path=usr/share/man/man3/pcre16_copy_substring.3 target=pcre_copy_substring.3 +link path=usr/share/man/man3/pcre16_dfa_exec.3 target=pcre_dfa_exec.3 +link path=usr/share/man/man3/pcre16_exec.3 target=pcre_exec.3 +link path=usr/share/man/man3/pcre16_free_study.3 target=pcre_free_study.3 +link path=usr/share/man/man3/pcre16_free_substring_list.3 target=pcre_free_substring_list.3 +link path=usr/share/man/man3/pcre16_free_substring.3 target=pcre_free_substring.3 +link path=usr/share/man/man3/pcre16_fullinfo.3 target=pcre_fullinfo.3 +link path=usr/share/man/man3/pcre16_get_named_substring.3 target=pcre_get_named_substring.3 +link path=usr/share/man/man3/pcre16_get_stringnumber.3 target=pcre_get_stringnumber.3 +link path=usr/share/man/man3/pcre16_get_stringtable_entries.3 target=pcre_get_stringtable_entries.3 +link path=usr/share/man/man3/pcre16_get_substring_list.3 target=pcre_get_substring_list.3 +link path=usr/share/man/man3/pcre16_get_substring.3 target=pcre_get_substring.3 +link path=usr/share/man/man3/pcre16_jit_stack_alloc.3 target=pcre_jit_stack_alloc.3 +link path=usr/share/man/man3/pcre16_jit_stack_free.3 target=pcre_jit_stack_free.3 +link path=usr/share/man/man3/pcre16_maketables.3 target=pcre_maketables.3 +link path=usr/share/man/man3/pcre16_pattern_to_host_byte_order.3 target=pcre_pattern_to_host_byte_order.3 +link path=usr/share/man/man3/pcre16_refcount.3 target=pcre_refcount.3 +link path=usr/share/man/man3/pcre16_study.3 target=pcre_study.3 +link path=usr/share/man/man3/pcre16_utf16_to_host_byte_order.3 target=pcre_utf16_to_host_byte_order.3 +link path=usr/share/man/man3/pcre16_version.3 target=pcre_version.3 diff --git a/examples/pcre/libpcrecpp.p5m b/examples/pcre/libpcrecpp.p5m new file mode 100644 index 0000000..640598c --- /dev/null +++ b/examples/pcre/libpcrecpp.p5m @@ -0,0 +1,44 @@ +# +# 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:/library/libpcrecpp@$(ips_version) +set name=pkg.summary value="$(summary), C++ library" +set name=info.upstream-url value="$(home)" +set name=info.source_url value="$(download)" +license $(license-file) license="$(license)" + +depend fmri=pkg:/library/libpcre@$(ips_version) type=require + +file path=usr/include/pcrecpp.h +file path=usr/include/pcrecpparg.h +file path=usr/lib/$(MACH64)/libpcrecpp.so.0.0.0 +file path=usr/lib/$(MACH64)/pkgconfig/libpcrecpp.pc +file path=usr/lib/libpcrecpp.so.0.0.0 +file path=usr/lib/pkgconfig/libpcrecpp.pc +file path=usr/share/man/man3/pcrecpp.3 +link path=usr/lib/$(MACH64)/libpcrecpp.so target=libpcrecpp.so.0.0.0 +link path=usr/lib/$(MACH64)/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0 +link path=usr/lib/libpcrecpp.so target=libpcrecpp.so.0.0.0 +link path=usr/lib/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0 + |