diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-02 21:08:19 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-02 21:08:19 +0400 |
commit | 4906b90a2d0a1ff40584a98f4c31a67585355d58 (patch) | |
tree | 6bdd1705a8163998f012e0df2776e113254b429e | |
parent | e367544fa81b45bb0f6bc78e9a721eedcc558f0f (diff) | |
download | util-linux-4906b90a2d0a1ff40584a98f4c31a67585355d58.tar.gz |
configure for Dyson
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 30 |
2 files changed, 30 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 24e8ddb..722cd9c 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,7 @@ Source: util-linux Section: base Priority: required +Build-Depends: dh-autoreconf, debhelper (>= 9) Standards-Version: 3.7.4 Maintainer: Igor Pashev <pashev.igor@gmail.com> diff --git a/debian/rules b/debian/rules index abde6ef..eaea0cd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,33 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + +confopts := \ + --disable-makeinstall-chown + +ifeq (illumos,$(DEB_HOST_ARCH_OS)) + confopts += \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --disable-cramfs \ + --disable-fallocate \ + --disable-fsck \ + --disable-kill \ + --disable-losetup \ + --disable-mount \ + --disable-mountpoint \ + --disable-partx \ + --disable-pivot_root \ + --disable-switch_root \ + --disable-unshare \ + --disable-wall \ + --without-udev \ + +endif + %: - dh $@ + dh $@ --with autoreconf +override_dh_auto_configure: + dh_auto_configure -- $(confopts) |