summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control62
-rw-r--r--debian/control.in62
-rw-r--r--debian/copyright26
-rw-r--r--debian/lib32sunavl-dev.install2
-rw-r--r--debian/lib32sunavl2.install1
-rw-r--r--debian/lib32sunavl2.symbols19
-rw-r--r--debian/libsunavl-dev.install3
-rw-r--r--debian/libsunavl2.install1
-rw-r--r--debian/libsunavl2.symbols19
-rwxr-xr-xdebian/rules55
-rw-r--r--debian/source/format1
13 files changed, 257 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..04b127b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libsunavl (1.0-0+dyson1) unstable; urgency=low
+
+ * Initial release. For Dyson.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Tue, 12 Feb 2013 22:47:06 +0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fed993d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,62 @@
+Source: libsunavl
+Section: libs
+Priority: required
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper ( >= 9),
+ dpkg-dev (>= 1.16.1~),
+ gcc-multilib [ illumos-amd64 amd64],
+Standards-Version: 3.9.4
+Homepage: http://illumos.org/
+
+Package: libsunavl2
+Section: libs
+Priority: optional
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos AVL tree library
+ This package provides the shared library to manipulate AVL trees. AVL trees
+ are very efficient balanced binary trees, similar to red-black trees. The
+ functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
+Package: lib32sunavl2
+Section: libs
+Priority: optional
+Architecture: illumos-amd64 amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos AVL tree library (32 bit)
+ This package provides the shared library to manipulate AVL trees. AVL trees
+ are very efficient balanced binary trees, similar to red-black trees. The
+ functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+ .
+ This is 32-bit version of the library
+
+Package: libsunavl-dev
+Architecture: any
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, libsunavl2 (= ${binary:Version})
+Description: illumos AVL tree library: development files
+ Contains the symlink, static library and headers needed to compile
+ applications using illumos/solaris AVL tree library.
+ .
+ The functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
+Package: lib32sunavl-dev
+Architecture: illumos-amd64 amd64
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, lib32sunavl2 (= ${binary:Version}),
+ libsunavl-dev (= ${binary:Version})
+Description: illumos AVL tree library: development files (32 bit)
+ Contains the symlink, static library and headers needed to compile
+ 32-bit applications using illumos/solaris AVL tree library.
+ .
+ The functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..0ce78d1
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,62 @@
+Source: libsunavl
+Section: libs
+Priority: required
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper ( >= 9),
+ dpkg-dev (>= 1.16.1~),
+ @multilib-deps@,
+Standards-Version: 3.9.4
+Homepage: http://illumos.org/
+
+Package: libsunavl2
+Section: libs
+Priority: optional
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos AVL tree library
+ This package provides the shared library to manipulate AVL trees. AVL trees
+ are very efficient balanced binary trees, similar to red-black trees. The
+ functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
+Package: lib32sunavl2
+Section: libs
+Priority: optional
+Architecture: @arch32@
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos AVL tree library (32 bit)
+ This package provides the shared library to manipulate AVL trees. AVL trees
+ are very efficient balanced binary trees, similar to red-black trees. The
+ functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+ .
+ This is 32-bit version of the library
+
+Package: libsunavl-dev
+Architecture: any
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, libsunavl2 (= ${binary:Version})
+Description: illumos AVL tree library: development files
+ Contains the symlink, static library and headers needed to compile
+ applications using illumos/solaris AVL tree library.
+ .
+ The functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
+Package: lib32sunavl-dev
+Architecture: @arch32@
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, lib32sunavl2 (= ${binary:Version}),
+ libsunavl-dev (= ${binary:Version})
+Description: illumos AVL tree library: development files (32 bit)
+ Contains the symlink, static library and headers needed to compile
+ 32-bit applications using illumos/solaris AVL tree library.
+ .
+ The functions in this library are widely used in Solaris and illumos userland
+ utilities and can handle any kind of payload and search key type.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bc20d16
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: debian/*
+Copyright: 2013, Igor Pashev <pashev.igor@gmail.com>
+License: WTFPL-2
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+ .
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+ .
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+ .
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ .
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
+Files: usr/*
+Copyright: 2009, Sun Microsystems, Inc.
+License: CDDL-1.0
+ .
+ On Debian system, the full text of the CDDL license
+ can be found in the file `/usr/share/common-licenses/CDDL-1.0'.
+
diff --git a/debian/lib32sunavl-dev.install b/debian/lib32sunavl-dev.install
new file mode 100644
index 0000000..773e3d2
--- /dev/null
+++ b/debian/lib32sunavl-dev.install
@@ -0,0 +1,2 @@
+usr/lib32/libsunavl.a
+usr/lib32/libsunavl.so
diff --git a/debian/lib32sunavl2.install b/debian/lib32sunavl2.install
new file mode 100644
index 0000000..38dd10b
--- /dev/null
+++ b/debian/lib32sunavl2.install
@@ -0,0 +1 @@
+usr/lib32/libsunavl.so.2*
diff --git a/debian/lib32sunavl2.symbols b/debian/lib32sunavl2.symbols
new file mode 100644
index 0000000..c07ff4f
--- /dev/null
+++ b/debian/lib32sunavl2.symbols
@@ -0,0 +1,19 @@
+libsunavl.so.2 lib32sunavl2 #MINVER#
+ SUNAVL_2.0@SUNAVL_2.0 1.0
+ avl_add@SUNAVL_2.0 1.0
+ avl_create@SUNAVL_2.0 1.0
+ avl_destroy@SUNAVL_2.0 1.0
+ avl_destroy_nodes@SUNAVL_2.0 1.0
+ avl_find@SUNAVL_2.0 1.0
+ avl_first@SUNAVL_2.0 1.0
+ avl_insert@SUNAVL_2.0 1.0
+ avl_insert_here@SUNAVL_2.0 1.0
+ avl_is_empty@SUNAVL_2.0 1.0
+ avl_last@SUNAVL_2.0 1.0
+ avl_nearest@SUNAVL_2.0 1.0
+ avl_numnodes@SUNAVL_2.0 1.0
+ avl_remove@SUNAVL_2.0 1.0
+ avl_update@SUNAVL_2.0 1.0
+ avl_update_gt@SUNAVL_2.0 1.0
+ avl_update_lt@SUNAVL_2.0 1.0
+ avl_walk@SUNAVL_2.0 1.0
diff --git a/debian/libsunavl-dev.install b/debian/libsunavl-dev.install
new file mode 100644
index 0000000..9c70054
--- /dev/null
+++ b/debian/libsunavl-dev.install
@@ -0,0 +1,3 @@
+usr/include/libsunavl*
+usr/lib/*/libsunavl.a
+usr/lib/*/libsunavl.so
diff --git a/debian/libsunavl2.install b/debian/libsunavl2.install
new file mode 100644
index 0000000..7d9ac26
--- /dev/null
+++ b/debian/libsunavl2.install
@@ -0,0 +1 @@
+usr/lib/*/libsunavl.so.2*
diff --git a/debian/libsunavl2.symbols b/debian/libsunavl2.symbols
new file mode 100644
index 0000000..f35c21d
--- /dev/null
+++ b/debian/libsunavl2.symbols
@@ -0,0 +1,19 @@
+libsunavl.so.2 libsunavl2 #MINVER#
+ SUNAVL_2.0@SUNAVL_2.0 1.0
+ avl_add@SUNAVL_2.0 1.0
+ avl_create@SUNAVL_2.0 1.0
+ avl_destroy@SUNAVL_2.0 1.0
+ avl_destroy_nodes@SUNAVL_2.0 1.0
+ avl_find@SUNAVL_2.0 1.0
+ avl_first@SUNAVL_2.0 1.0
+ avl_insert@SUNAVL_2.0 1.0
+ avl_insert_here@SUNAVL_2.0 1.0
+ avl_is_empty@SUNAVL_2.0 1.0
+ avl_last@SUNAVL_2.0 1.0
+ avl_nearest@SUNAVL_2.0 1.0
+ avl_numnodes@SUNAVL_2.0 1.0
+ avl_remove@SUNAVL_2.0 1.0
+ avl_update@SUNAVL_2.0 1.0
+ avl_update_gt@SUNAVL_2.0 1.0
+ avl_update_lt@SUNAVL_2.0 1.0
+ avl_walk@SUNAVL_2.0 1.0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..81e5657
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,55 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+export DPKG_GENSYMBOLS_CHECK_LEVEL := 4
+
+# list of arch for which build 32-bit library
+lib32 := illumos-amd64 amd64
+
+# list of arch for which build 64-bit library
+lib64 :=
+
+variants := default
+
+ifneq (,$(filter $(DEB_HOST_ARCH), $(lib32)))
+variants += 32
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH), $(lib64)))
+variants += 64
+endif
+
+configure.32 := --libdir=\$${prefix}/lib32 CFLAGS="-m32"
+configure.64 := --libdir=\$${prefix}/lib64 CFLAGS="-m64"
+
+%:
+ dh $@
+
+clean: debian/control
+debian/control: debian/control.in
+ sed -r \
+ -e 's,@arch32@,$(lib32),g' \
+ -e 's,@arch64@,$(lib64),g' \
+ -e 's,@multilib-deps@,gcc-multilib [$(lib64) $(lib32)],g' \
+ $< > $@
+
+override_dh_auto_configure : $(variants:%=configure-%-stamp)
+override_dh_auto_build : $(variants:%=build-%-stamp)
+override_dh_auto_install : $(variants:%=install-%-stamp)
+override_dh_auto_clean:
+ rm -rf debian/build
+
+configure-%-stamp:
+ dh_auto_configure -B debian/build/$* -- \
+ $(configure.$*)
+ touch $@
+
+build-%-stamp: configure-%-stamp
+ dh_auto_build -B debian/build/$*
+ touch $@
+
+install-%-stamp: build-%-stamp
+ dh_auto_install -B debian/build/$*
+ touch $@
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)