summaryrefslogtreecommitdiff
path: root/sqlite3
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-13 16:41:32 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-13 16:41:32 +0400
commit1e0353f19df76cc8dd3c6664cb22608388401a26 (patch)
tree7aa0e2873451c0a74b7b93335fc75fc0610afd7e /sqlite3
parentea019f26085e392571fcdc3e347f8e7d1df10373 (diff)
downloadcibs-pkgs-1e0353f19df76cc8dd3c6664cb22608388401a26.tar.gz
SQLite 3
Diffstat (limited to 'sqlite3')
-rw-r--r--sqlite3/Makefile23
-rw-r--r--sqlite3/db-sqlite-3.p5m6
-rw-r--r--sqlite3/db-sqlite3.p5m9
-rw-r--r--sqlite3/sqlite3-0.p5m11
-rw-r--r--sqlite3/sqlite3.p5m17
5 files changed, 66 insertions, 0 deletions
diff --git a/sqlite3/Makefile b/sqlite3/Makefile
new file mode 100644
index 0000000..da21daf
--- /dev/null
+++ b/sqlite3/Makefile
@@ -0,0 +1,23 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/32.mk
+include /usr/share/cibs/rules/64.mk
+include /usr/share/cibs/rules/autotools.mk
+
+summary := SQLite 3
+license := public domain
+license-file := tea/license.terms
+
+build-depends += \
+ library/readline
+
+name := sqlite3
+home := http://www.sqlite.org/
+version := 3.7.15
+archive := sqlite-autoconf-3071500.tar.gz
+download := http://www.sqlite.org/$(archive)
+checksum := \
+ md5:0d2a2d27b56ac73d49db76dcb6b4619c \
+ sha1:7b463b76b7a0e322dcdf7bf2221f6e508511e392 \
+ sha256:fee53abf5ce8f44ef37cdc734551d82295fc933f522911d371d3421ccd305d48 \
+ size:1846740
diff --git a/sqlite3/db-sqlite-3.p5m b/sqlite3/db-sqlite-3.p5m
new file mode 100644
index 0000000..ff63291
--- /dev/null
+++ b/sqlite3/db-sqlite-3.p5m
@@ -0,0 +1,6 @@
+set name=pkg.fmri value=pkg:/database/sqlite-3@$(ips-version)
+set name=pkg.summary value="Dummy package pulling database/sqlite3"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+depend fmri=pkg:/database/sqlite3 type=require
diff --git a/sqlite3/db-sqlite3.p5m b/sqlite3/db-sqlite3.p5m
new file mode 100644
index 0000000..3646e0d
--- /dev/null
+++ b/sqlite3/db-sqlite3.p5m
@@ -0,0 +1,9 @@
+set name=pkg.fmri value=pkg:/database/sqlite3@$(ips-version)
+set name=pkg.summary value="Command line interface for SQLite 3"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+file path=usr/share/man/man1/sqlite3.1
+file $(protodir.64)/usr/bin/sqlite3 path=usr/bin/sqlite3
diff --git a/sqlite3/sqlite3-0.p5m b/sqlite3/sqlite3-0.p5m
new file mode 100644
index 0000000..b41f572
--- /dev/null
+++ b/sqlite3/sqlite3-0.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/sqlite3-0@$(ips-version)
+set name=pkg.summary value="$(summary), shared library"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+file path=usr/lib/$(mach64)/libsqlite3.so.0.8.6
+link path=usr/lib/$(mach64)/libsqlite3.so.0 target=libsqlite3.so.0.8.6
+file path=usr/lib/libsqlite3.so.0.8.6
+link path=usr/lib/libsqlite3.so.0 target=libsqlite3.so.0.8.6
diff --git a/sqlite3/sqlite3.p5m b/sqlite3/sqlite3.p5m
new file mode 100644
index 0000000..202e740
--- /dev/null
+++ b/sqlite3/sqlite3.p5m
@@ -0,0 +1,17 @@
+set name=pkg.fmri value=pkg:/library/sqlite3@$(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/sqlite3-0@$(ips-version) type=require
+depend fmri=pkg:/library/sqlite3-0@$(ips-version) type=incorporate
+
+file path=usr/lib/pkgconfig/sqlite3.pc
+link path=usr/lib/$(mach64)/libsqlite3.so target=libsqlite3.so.0
+link path=usr/lib/libsqlite3.so target=libsqlite3.so.0
+
+file path=usr/include/sqlite3ext.h
+file path=usr/include/sqlite3.h
+