diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-01 00:58:14 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-01 00:58:14 +0400 |
commit | b283d683a2c7bb4a359badb1cb194b99ea76be35 (patch) | |
tree | 68b200c20c1bc19076b9d09296e7d89f75094319 | |
parent | f984ef91d3f9bed6fcea656b8500cd86ceaa5dea (diff) | |
download | cdrkit-b283d683a2c7bb4a359badb1cb194b99ea76be35.tar.gz |
Separate mkisofs package for illumos
-rw-r--r-- | debian/changelog | 9 | ||||
-rw-r--r-- | debian/control | 18 | ||||
-rw-r--r-- | debian/mkisofs.install | 2 | ||||
-rwxr-xr-x | debian/rules | 29 |
4 files changed, 57 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 31d2650..b0f3a5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +cdrkit (9:1.1.11-2+dyson2) unstable; urgency=low + + * Ported to Dyson: + - sha*.h: define __THROW if not defined + - Avoid libvolmgt on illumos (libvolmgt is a stub) + - Funny patch for libnsl (libnls -> libnsl) + + -- Igor Pashev <pashev.igor@gmail.com> Mon, 31 Dec 2012 21:01:02 +0400 + cdrkit (9:1.1.11-2) unstable; urgency=low * Modify build-dependencies to better support kFreeBSD folks. Thanks to diff --git a/debian/control b/debian/control index 181e66d..b7c061e 100644 --- a/debian/control +++ b/debian/control @@ -24,7 +24,7 @@ Description: command line CD/DVD writing tool Package: genisoimage Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, mkisofs (>= ${source:Version}) [illumos-any] Suggests: wodim, cdrkit-doc Replaces: mkisofs (<< 9:1.0) Conflicts: mkhybrid, mkisofs (<< 9:1.0) @@ -44,6 +44,22 @@ Description: Creates ISO-9660 CD-ROM filesystem images Please install cdrkit-doc if you want most of the documentation and README files. +Package: mkisofs +Priority: required +Architecture: illumos-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: genisoimage +Replaces: genisoimage (<< 9:1.1.11-2+dyson2) +Conflicts: genisoimage (<< 9:1.1.11-2+dyson2) +Description: Creates ISO-9660 CD-ROM filesystem images + mkisofs is a pre-mastering program for creating ISO-9660 CD-ROM + filesystem images, which can then be written to CD or DVD media using + the wodim program. genisoimage includes support for making bootable + "El Torito" CDs, as well as CDs with support for the + Macintosh HFS filesystem. + . + mkisofs is required on illumos for building boot archive. + Package: icedax Architecture: any Suggests: vorbis-tools, cdrkit-doc diff --git a/debian/mkisofs.install b/debian/mkisofs.install new file mode 100644 index 0000000..1f822c5 --- /dev/null +++ b/debian/mkisofs.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mkisofs +debian/tmp/usr/share/man/man1/mkisofs.1 diff --git a/debian/rules b/debian/rules index 81d0dc2..e9170bb 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,8 @@ PACKAGE = cdrkit +os := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + CFLAGS = -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -59,6 +61,12 @@ build/install-debstamp: dh_clean rm -rf $(b) make install PREFIX=$(i) +ifeq (illumos,$(os)) + mv $(i)/bin/genisoimage $(i)/bin/mkisofs + ln -sf mkisofs $(i)/bin/genisoimage + mv $(i)/share/man/man1/genisoimage.1 $(i)/share/man/man1/mkisofs.1 + echo ".so mkisofs.1" > $(i)/share/man/man1/genisoimage.1 +endif install -m 755 3rd-party/geteltorito/geteltorito.pl $(i)/bin/geteltorito install -m 755 3rd-party/zisofs_tools/mkzftree $(i)/bin/ @@ -72,6 +80,27 @@ binary-indep: build install cdrkit-doc binary-arch: build install wodim icedax genisoimage +ifeq (illumos,$(os)) +binary-arch: mkisofs +mkisofs: install + @echo "--- Building: $@" + dh_installdirs -p$@ -P$(b)/$@ + dh_link -p$@ -P$(b)/$@ + dh_installdocs -p$@ -P$(b)/$@ + dh_installchangelogs -p$@ -P$(b)/$@ Changelog + dh_install -p$@ -P$(b)/$@ + dh_strip -p$@ -P$(b)/$@ + dh_compress -p$@ -P$(b)/$@ + dh_fixperms -p$@ -P$(b)/$@ + dh_makeshlibs -p$@ -P$(b)/$@ -V + dh_installdeb -p$@ -P$(b)/$@ + dh_shlibdeps -p$@ -P$(b)/$@ + dh_installdebconf -p$@ -P$(b)/$@ + dh_gencontrol -p$@ -P$(b)/$@ + dh_md5sums -p$@ -P$(b)/$@ + dh_builddeb -p$@ -P$(b)/$@ +endif + # # wodim # |