diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-09-02 07:15:05 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-09-02 07:15:05 +0000 |
commit | cd3767d9b9a44adb35a59ecf5df88b0f10cfc038 (patch) | |
tree | 255c0debe14545fbb0db51d773efc15240923032 /onbld/debian | |
parent | 8c3991e85803ad09496a93d10fc2425fd57dec8f (diff) | |
download | illumos-packaging-cd3767d9b9a44adb35a59ecf5df88b0f10cfc038.tar.gz |
Added lib32ctf
Diffstat (limited to 'onbld/debian')
-rw-r--r-- | onbld/debian/changelog | 6 | ||||
-rw-r--r-- | onbld/debian/control | 28 | ||||
-rw-r--r-- | onbld/debian/lib32ctf1-dev.install | 1 | ||||
-rw-r--r-- | onbld/debian/lib32ctf1.install | 1 | ||||
-rwxr-xr-x | onbld/debian/rules | 17 |
5 files changed, 44 insertions, 9 deletions
diff --git a/onbld/debian/changelog b/onbld/debian/changelog index e8e5577..c17afa3 100644 --- a/onbld/debian/changelog +++ b/onbld/debian/changelog @@ -1,3 +1,9 @@ +onbld (5.11.0-2) UNRELEASED; urgency=low + + * Added lib32ctf1{,-dev} + + -- Igor Pashev <pashev.igor@gmail.com> Sun, 02 Sep 2012 06:58:26 +0000 + onbld (5.11.0-1) unstable; urgency=low * Initial release. diff --git a/onbld/debian/control b/onbld/debian/control index 44d07d7..5f75d82 100644 --- a/onbld/debian/control +++ b/onbld/debian/control @@ -88,7 +88,8 @@ Description: Compact ANSI-C Type Format debugger library Package: libctf1-dev Architecture: any -Depends: ${misc:Depends}, libctf1 (=${binary:Version}), unix-libc-dev +Depends: ${misc:Depends}, libctf1 (=${binary:Version}), unix-ctf-dev +Provides: libctf-dev Pre-Depends: ${misc:Pre-Depends} Section: libdevel Priority: optional @@ -99,3 +100,28 @@ Description: Compact ANSI-C Type Format debugger library (development files) This package provides a symbolic link and a library header file. That header file is just an interface to system header files (sys/ctf_api.h) which is shipped in "unix-ctf-dev" package. + +Package: lib32ctf1 +Architecture: illumos-amd64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Section: libs +Priority: optional +Description: Compact ANSI-C Type Format debugger library (32-bit) + This library provides functions that a debugger can + use to operate on data in the Compact ANSI-C Type Format (CTF) + +Package: lib32ctf1-dev +Architecture: illumos-amd64 +Depends: ${misc:Depends}, lib32ctf1 (=${binary:Version}), unix-ctf-dev, + libctf1-dev (=${binary:Version}) +Provides: lib32ctf-dev +Section: libdevel +Priority: optional +Description: Compact ANSI-C Type Format debugger library (32-bit development) + This library provides functions that a debugger can + use to operate on data in the Compact ANSI-C Type Format (CTF) + . + This package provides a symbolic link and a library header file. + That header file is just an interface to system header files (sys/ctf_api.h) + which is shipped in "unix-ctf-dev" package. diff --git a/onbld/debian/lib32ctf1-dev.install b/onbld/debian/lib32ctf1-dev.install new file mode 100644 index 0000000..198876a --- /dev/null +++ b/onbld/debian/lib32ctf1-dev.install @@ -0,0 +1 @@ +/usr/lib32/*.so diff --git a/onbld/debian/lib32ctf1.install b/onbld/debian/lib32ctf1.install new file mode 100644 index 0000000..66f0115 --- /dev/null +++ b/onbld/debian/lib32ctf1.install @@ -0,0 +1 @@ +/usr/lib32/*.so.* diff --git a/onbld/debian/rules b/onbld/debian/rules index a2729ff..7dbe716 100755 --- a/onbld/debian/rules +++ b/onbld/debian/rules @@ -6,9 +6,6 @@ unpack: unpack-stamp unpack-stamp: dh_testdir dh_illumos_gate - # i386_XARCH is set to -m32 by dh_illumos_gate, - # but we want native arch (64-bit): - sed -i -r "s/.*(export i386_XARCH=).*/\1/" illumos-gate/env.sh # install into debian/tmp: echo 'export TOOLS_PROTO="$$ROOT"' >> illumos-gate/env.sh sed -i '/^TOOLS_PROTO=/d' illumos-gate/bldenv.sh @@ -35,19 +32,20 @@ build-stamp: patch-stamp # and sunld does not understand it, # but we do not need sunld here ;-) sed -i -r 's/.*(export +LD_ALTEXEC.*)/#\1/' illumos-gate/env.sh - dh_illumos_make --no-onbld usr/src/tools + dh_illumos_make --no-onbld --native usr/src/tools # Then we need sunld: sed -i -r 's/#(export +LD_ALTEXEC.*)/\1/' illumos-gate/env.sh - mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \ - debian/tmp/usr/include + mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) + mkdir -p debian/tmp/usr/lib32 + mkdir -p debian/tmp/usr/include # install into /usr: sed -i -r '/Makefile\.rootfs/d' \ illumos-gate/usr/src/lib/libctf/Makefile.com - dh_illumos_make --no-onbld --without-mcs usr/src/lib/libctf/amd64 + dh_illumos_make --no-onbld --without-mcs usr/src/lib/libctf dh_illumos_make --no-onbld --without-mcs usr/src/lib/libctf -t install_h # Then - don't: sed -i -r 's/(export +LD_ALTEXEC.*)/#\1/' illumos-gate/env.sh - dh_illumos_make --no-onbld usr/src/tools/ctf/stabs + dh_illumos_make --no-onbld --native usr/src/tools/ctf/stabs touch $@ binary binary-arch binary-indep: binary-stamp @@ -57,6 +55,9 @@ binary-stamp: build-stamp dh_install dh_python2 dh_installman + dh_installdocs -plibctf1-dev --link-doc=libctf1 + dh_installdocs -plib32ctf1 --link-doc=libctf1 + dh_installdocs -plib32ctf1-dev --link-doc=libctf1 dh_installdocs dh_installexamples dh_installchangelogs |