diff options
author | Gerrit Pape <pape@smarden.org> | 2010-04-20 00:32:27 +0200 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2010-04-20 00:32:27 +0200 |
commit | 2019a45d2f05f7184bf998ff320cb44d6d5c3877 (patch) | |
tree | 439f81154d6f327de8540a50f3f0d28371d420c2 | |
parent | 9bbfffa0cd3e1f28288d4bbf1f15f3fe1c266c84 (diff) |
skalibs (0.47-1) unstable; urgency=low
* new upstream version.
* debian/control: Standards-Version: 3.8.4.0.
[dgit import package skalibs 0.47-1]
-rw-r--r-- | debian/changelog | 80 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/copyright | 12 | ||||
-rw-r--r-- | debian/implicit | 93 | ||||
-rwxr-xr-x | debian/rules | 95 | ||||
-rw-r--r-- | debian/skalibs-dev.README.Debian | 17 | ||||
-rw-r--r-- | debian/skalibs-doc.docs | 3 |
7 files changed, 331 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..355fc04 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,80 @@ +skalibs (0.47-1) unstable; urgency=low + + * new upstream version. + * debian/control: Standards-Version: 3.8.4.0. + + -- Gerrit Pape <pape@smarden.org> Mon, 19 Apr 2010 22:32:27 +0000 + +skalibs (0.46-1) unstable; urgency=low + + * debian/implicit: update to a09db2e42c8b6a2d820754d741558e5894944746. + * new upstream version. + * switch from tarball-in-tarball to original upstream tarball. + * debian/rules: target unpack: rename to configure:; instead of unpacking + copy sources for build against dietlibc; adapt build:, clean:, install: + targets. + * debian/control: remove duplicate Architecture: field (closes: #464299). + * debian/control: Standards-Version: 3.7.3.0. + * debian/skalibs-doc.docs: adapt paths. + * debian/rules: don't have upstream build process strip libraries. + + -- Gerrit Pape <pape@smarden.org> Wed, 06 Feb 2008 10:59:19 +0000 + +skalibs (0.45-2) unstable; urgency=low + + * debian/control: add Build-Depends: dietlibc-dev [ppc64]. + * debian/rules: add ppc64 to DIET_ARCHS. + + -- Gerrit Pape <pape@smarden.org> Sun, 13 Mar 2005 14:12:15 +0000 + +skalibs (0.45-1) unstable; urgency=low + + * new upstream version. + * debian/copyright: minor. + + -- Gerrit Pape <pape@smarden.org> Sun, 13 Feb 2005 17:52:54 +0000 + +skalibs (0.44-1) unstable; urgency=low + + * new upstream version. + * debian/implicit: update to revision 1.10. + * debian/skalibs-doc.docs: use generic pathnames. + * debian/rules: minor cleanup. + + -- Gerrit Pape <pape@smarden.org> Fri, 5 Nov 2004 17:37:32 +0000 + +skalibs (0.43-2) unstable; urgency=low + + * debian/rules: install sysdeps in /usr/include/skalibs/sysdeps/ and + /usr/include/diet/skalibs/sysdeps/; install libraries into + /usr/lib/diet/lib/; shorten architecture-check; use -g -O2; strip + libraries; minor. + * debian/control: Build-Depends: dietlibc-dev (>= 0.26-3) +[amd64]. + * debian/skalibs-dev.README.Debian: minor. + + -- Gerrit Pape <pape@smarden.org> Mon, 21 Jun 2004 17:20:26 +0000 + +skalibs (0.43-1) unstable; urgency=low + + * new upstream version. + + -- Gerrit Pape <pape@smarden.org> Mon, 19 Apr 2004 08:12:40 +0000 + +skalibs (0.42-1) unstable; urgency=low + + * new upstream version. + + -- Gerrit Pape <pape@smarden.org> Sun, 11 Apr 2004 11:45:06 +0000 + +skalibs (0.41-1) unstable; urgency=low + + * new upstream version. + * debian/implicit: update to revision 1.8. + + -- Gerrit Pape <pape@smarden.org> Sat, 3 Apr 2004 15:55:28 +0000 + +skalibs (0.40-1) unstable; urgency=low + + * initial debian package (closes: #231936). + + -- Gerrit Pape <pape@smarden.org> Tue, 17 Feb 2004 10:01:02 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4010cf9 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: skalibs +Section: devel +Priority: optional +Maintainer: Gerrit Pape <pape@smarden.org> +Build-Depends: dietlibc-dev (>= 0.26-3) [alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 s390 sparc] +Standards-Version: 3.8.4.0 + +Package: skalibs-dev +Section: libdevel +Architecture: any +Recommends: dietlibc-dev +Suggests: skalibs-doc +Description: Public domain general-purpose libraries + skalibs is a set of general-purpose, low-level C libraries, all in the + public domain. It can replace or hide the standard C library to some + extent, and is designed to allow building of small, static binaries. + . + See http://skarnet.org/software/skalibs/index.html for more information. + +Package: skalibs-doc +Architecture: all +Section: doc +Suggests: skalibs-dev, dietlibc-doc +Description: Public domain general-purpose libraries (documentation) + skalibs is a set of general-purpose, low-level C libraries, all in the + public domain. It can replace or hide the standard C library to some + extent, and is designed to allow building of small, static binaries. + . + This package contains the documentation for the libraries. + . + See http://skarnet.org/software/skalibs/index.html for more information. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9802232 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Gerrit Pape <pape@smarden.org> on +Mon, 16 Feb 2004. + +It was downloaded from: http://skarnet.org/software/skalibs/install.html + +Upstream Author: Laurent Bercot <ska-skaware@skarnet.org> + +Copyright: + +(C) 2002-2005 Laurent Bercot <ska-skaware@skarnet.org> + +This software is in the public domain. diff --git a/debian/implicit b/debian/implicit new file mode 100644 index 0000000..639532b --- /dev/null +++ b/debian/implicit @@ -0,0 +1,93 @@ +# $Id: a09db2e42c8b6a2d820754d741558e5894944746 $ + +.PHONY: deb-checkdir deb-checkuid + +deb-checkdir: + @test -e debian/control || sh -cx '! : wrong directory' +deb-checkuid: + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb: %.deb-docs %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-docs $*.deb-docs-base \ + $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \ + $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.udeb: %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \ + $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.deb-checkdir: install + @test -d debian/$* || sh -cx '! : directory debian/$* missing' + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb-docs-base: install + : implicit + @rm -f debian/$*/usr/share/doc/$*/* || : + @install -d -m0755 debian/$*/usr/share/doc/$* + : debian/$*/usr/share/doc/$*/ + @sh -cx 'install -m0644 debian/copyright debian/$*/usr/share/doc/$*/' + @sh -cx 'install -m0644 debian/changelog \ + debian/$*/usr/share/doc/$*/changelog.Debian' + @test ! -r changelog || \ + sh -cx 'install -m0644 changelog debian/$*/usr/share/doc/$*/' + @test -r debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \ + debian/$*/usr/share/doc/$*/changelog' + @test -s debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' + @gzip -9 debian/$*/usr/share/doc/$*/changelog* +%.deb-docs-docs: %.deb-docs-base + @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ + if test -d $$i; then \ + sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \ + for j in $$i/*; do \ + sh -cx "install -m0644 $$j \ + debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \ + done || exit 1; \ + continue; \ + fi; \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ + done + @test ! -r debian/$*.README.Debian || \ + sh -cx 'install -m0644 debian/$*.README.Debian \ + debian/$*/usr/share/doc/$*/README.Debian' + @if test -r debian/$*.NEWS.Debian; then \ + sh -cx 'install -m0644 debian/$*.NEWS.Debian \ + debian/$*/usr/share/doc/$*/NEWS.Debian && \ + gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + fi +%.deb-docs-examples: %.deb-docs-docs + @rm -rf debian/$*/usr/share/doc/$*/examples + : debian/$*/usr/share/doc/$*/examples/ + @test ! -r debian/$*.examples || \ + install -d -m0755 debian/$*/usr/share/doc/$*/examples + @for i in `cat debian/$*.examples 2>/dev/null || :`; do \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/examples/" \ + || exit 1; \ + done +%.deb-docs: %.deb-checkdir %.deb-docs-base %.deb-docs-docs %.deb-docs-examples + : debian/$*/usr/share/doc/$*/ ok + +%.deb-DEBIAN-base: install + @rm -rf debian/$*/DEBIAN + : debian/$*/DEBIAN/ + @install -d -m0755 debian/$*/DEBIAN + @for i in conffiles shlibs templates; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-scripts: %.deb-DEBIAN-base + @for i in preinst prerm postinst postrm config; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-md5sums: %.deb-DEBIAN-base %.deb-docs + : debian/$*/DEBIAN/md5sums + @rm -f debian/$*/DEBIAN/md5sums + @cd debian/$* && find * -path 'DEBIAN' -prune -o \ + -type f -exec md5sum {} >>DEBIAN/md5sums \; +%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \ + %.deb-DEBIAN-md5sums + : debian/$*/DEBIAN/ ok diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8e97ce5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f + +STRIP =strip +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP =: nostrip +endif + +DIET =0 +DIET_ARCHS =alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 s390 sparc +ARCH ?=$(shell dpkg-architecture -qDEB_HOST_ARCH) +ifneq (,$(findstring $(ARCH),$(DIET_ARCHS))) + DIET =1 +endif + +DIR =$(shell pwd)/debian/skalibs + +configure: deb-checkdir configure-stamp +configure-stamp: + ln -s skalibs-0.47 skalibs + test -r skalibs/conf-compile/conf-striplibs'{orig}' || \ + cp skalibs/conf-compile/conf-striplibs \ + skalibs/conf-compile/conf-striplibs'{orig}' + >skalibs/conf-compile/conf-striplibs : + mkdir -p diet + tar cf - skalibs-0.47 | (cd diet && tar xf -) + ln -s skalibs-0.47 diet/skalibs + echo 'diet -v -Os gcc -g -W -Wall -nostdinc -pipe -DUSE_BASE_LIBC' \ + >diet/skalibs/conf-compile/conf-cc + >diet/skalibs/conf-compile/conf-striplibs : + echo 'diet -v -Os gcc' >diet/skalibs/conf-compile/conf-ld + touch configure-stamp + +build: deb-checkdir build-stamp +build-stamp: configure-stamp + (cd skalibs && package/compile) + test '$(DIET)' -eq 0 || (cd diet/skalibs && package/compile) + touch build-stamp + +clean: deb-checkdir deb-checkuid + test ! -r skalibs/conf-compile/conf-striplibs'{orig}' || \ + mv -f skalibs/conf-compile/conf-striplibs'{orig}' \ + skalibs/conf-compile/conf-striplibs + rm -rf skalibs/compile skalibs/include skalibs/library skalibs/sysdeps + rm -rf diet + rm -f skalibs + rm -f configure-stamp build-stamp + rm -rf '$(DIR)'-dev '$(DIR)'-doc + rm -f debian/files changelog + +install-indep: deb-checkdir deb-checkuid configure-stamp + rm -rf '$(DIR)'-doc + install -d -m0755 '$(DIR)'-doc + rm -f changelog && ln -s skalibs/package/CHANGES changelog + +install-arch: deb-checkdir deb-checkuid build-stamp + rm -rf '$(DIR)'-dev + install -d -m0755 '$(DIR)'-dev/usr/lib/skalibs + install -d -m0755 '$(DIR)'-dev/usr/include/skalibs/sysdeps + install -m0644 skalibs/library/*.a '$(DIR)'-dev/usr/lib/skalibs/ + $(STRIP) --strip-debug '$(DIR)'-dev/usr/lib/skalibs/*.a + install -m0644 skalibs/include/*.h \ + '$(DIR)'-dev/usr/include/skalibs/ + install -m0644 skalibs/sysdeps/* \ + '$(DIR)'-dev/usr/include/skalibs/sysdeps/ + ln -s ../../include/skalibs '$(DIR)'-dev/usr/lib/skalibs/include + ln -s . '$(DIR)'-dev/usr/lib/skalibs/lib + test '$(DIET)' -eq 0 || \ + ( install -d -m0755 '$(DIR)'-dev/usr/lib/diet/lib && \ + install -d -m0755 '$(DIR)'-dev/usr/include/diet/skalibs/sysdeps && \ + install -m0644 diet/skalibs/library/*.a \ + '$(DIR)'-dev/usr/lib/diet/lib/ && \ + $(STRIP) --strip-debug '$(DIR)'-dev/usr/lib/diet/lib/*.a && \ + install -m0644 skalibs/include/*.h \ + '$(DIR)'-dev/usr/include/diet/skalibs/ && \ + install -m0644 skalibs/sysdeps/* \ + '$(DIR)'-dev/usr/include/diet/skalibs/sysdeps/ ) + # changelog + rm -f changelog && ln -s skalibs/package/CHANGES changelog + +install: install-indep install-arch + +binary-indep: install-indep skalibs-doc.deb + dpkg-gencontrol -isp -pskalibs-doc -P'$(DIR)'-doc + dpkg -b '$(DIR)'-doc .. + +binary-arch: install-arch skalibs-dev.deb + dpkg-gencontrol -isp -pskalibs-dev -P'$(DIR)'-dev + dpkg -b '$(DIR)'-dev .. + +binary: binary-indep binary-arch + +.PHONY: configure build clean install-indep install-arch install binary-indep \ + binary-arch binary + +include debian/implicit diff --git a/debian/skalibs-dev.README.Debian b/debian/skalibs-dev.README.Debian new file mode 100644 index 0000000..16c9d9f --- /dev/null +++ b/debian/skalibs-dev.README.Debian @@ -0,0 +1,17 @@ +skalibs-dev for Debian +---------------------- + +This package provides the skalibs libraries for statically linking, built +against the glibc as well as built against the diet libc (on architectures +the diet libc is available for). + +The libraries for the use with glibc are available through /usr/lib/skalibs/, +the include files are located in /usr/include/skalibs/. + +The libraries for the use with diet libc are located in /usr/lib/diet/lib/, +and so automatically found when using the diet compiler wrapper. The include +files are available through /usr/include/diet/skalibs/. + +For documentation of skalibs see the skalibs-doc package. + + -- Gerrit Pape <pape@smarden.org>, Tue, 17 Feb 2004 09:58:01 +0000 diff --git a/debian/skalibs-doc.docs b/debian/skalibs-doc.docs new file mode 100644 index 0000000..a01ca12 --- /dev/null +++ b/debian/skalibs-doc.docs @@ -0,0 +1,3 @@ +skalibs/package/README +skalibs/package/THANKS +skalibs/doc/*.html |