Commit d3600313 authored by Bastian Blank's avatar Bastian Blank 🌱 Committed by Jeremy Bicha

Import Debian changes 2.1.0+repack-1.2

sysfsutils (2.1.0+repack-1.2) unstable; urgency=low

  * Non-maintainer upload.
  * Support multi-arch: (closes: #663040)
    - Mark libsysfs2 as same.
    - Mark sysfsutils as foreign.
    - Adjust debhelper and cdbs build-dependencies.
    - Fixup -dev installation.
parent b4a892a0
sysfsutils (2.1.0+repack-1.2) unstable; urgency=low
* Non-maintainer upload.
* Support multi-arch: (closes: #663040)
- Mark libsysfs2 as same.
- Mark sysfsutils as foreign.
- Adjust debhelper and cdbs build-dependencies.
- Fixup -dev installation.
-- Bastian Blank <waldi@debian.org> Sat, 16 Jun 2012 17:18:46 +0000
sysfsutils (2.1.0+repack-1.1) unstable; urgency=low
* Non-maintainer upload.
......
......@@ -2,7 +2,7 @@ Source: sysfsutils
Section: libs
Priority: extra
Maintainer: Martin Pitt <mpitt@debian.org>
Build-Depends: cdbs, debhelper (>= 7), chrpath, autotools-dev
Build-Depends: debhelper (>= 8.1.3), cdbs (>= 0.4.93~), chrpath, autotools-dev
Standards-Version: 3.9.3
Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/sysfsutils/debian
......@@ -10,6 +10,7 @@ Package: libsysfs-dev
Section: libdevel
Priority: optional
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libsysfs2 (= ${binary:Version})
Description: interface library to sysfs - development files
Sysfs is a virtual file system in Linux kernel 2.5+ that provides a
......@@ -23,7 +24,9 @@ Description: interface library to sysfs - development files
Package: libsysfs2
Architecture: any
Multi-Arch: same
Priority: important
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: interface library to sysfs
Sysfs is a virtual file system in Linux kernel 2.5+ that provides a
......@@ -38,6 +41,7 @@ Description: interface library to sysfs
Package: sysfsutils
Section: utils
Architecture: any
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: sysfs query tool and boot-time setup
Sysfs is a virtual file system in Linux kernel 2.5+ that provides a
......
lib/libsysfs.a usr/lib
usr/include
docs/libsysfs.txt usr/share/doc/libsysfs-dev/
debian/local/libsysfs.pc usr/lib/pkgconfig
/lib/libsysfs.so.2 /usr/lib/libsysfs.so
lib/libsysfs.so.*
lib/*/libsysfs.so.*
......@@ -3,13 +3,17 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_EXTRA_FLAGS := --libdir=/lib
DEB_CONFIGURE_EXTRA_FLAGS := --libdir=/lib/$(DEB_HOST_MULTIARCH)
DEB_DH_MAKESHLIBS_ARGS_libsysfs2 := --add-udeb="libsysfs2-udeb"
DEB_DH_INSTALLINIT_ARGS := -- start 20 2 3 4 5 .
install/libsysfs-dev::
mkdir -p debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)
ln -s /lib/$(DEB_HOST_MULTIARCH)/libsysfs.so.2 debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)/libsysfs.so
cp debian/tmp/lib/*/libsysfs.a debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)
install/libsysfs2-udeb::
cp -L debian/tmp/lib/libsysfs.so.? debian/$(cdbs_curpkg)/lib
chmod 644 $(DEB_DESTDIR)/lib/*.so
cp -L debian/tmp/lib/*/libsysfs.so.2 debian/$(cdbs_curpkg)/lib
binary-fixup/sysfsutils::
chrpath -d debian/$(cdbs_curpkg)/usr/bin/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment