Package: lirc-modules-source
Version: 0.7.1pre2-11
Followup-For: Bug #338286

You say that the software is being repackaged from scratch. Great!

But how about all us outsiders curious to see what you are working on -
and perhaps even able to help, and interested in doing so?

But do you have your preliminary work accessible from somewhere?


 - Jonas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-powerpc
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.61     Debian configuration management sy
ii  debhelper                     5.0.7      helper programs for debian/rules
ii  debianutils                   2.15.1     Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii  dpkg                          1.13.11    package maintenance system for Deb
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  gcc [c-compiler]              4:4.0.2-1  The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.5-1    The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.2-4    The GNU C compiler
ii  kernel-package                10.011     A utility for building Linux kerne
ii  make                          3.80-11    The GNU version of the "make" util

-- debconf information excluded
--- rules.orig  2005-09-15 12:01:48.000000000 +0200
+++ rules       2005-12-03 14:08:23.000000000 +0100
@@ -12,12 +12,12 @@
 
 # KSRC is the location of the kernel source. This is the default value,
 # when make-kpkg is used it will supply to real value
-KSRC            = /usr/src/linux
+KSRC            ?= /usr/src/linux
 
 # KDREV is the package-revision, as given to make-kpkg by the user.
 # Just put a simply default value in here which we use when we test
 # the packagebuilding without make-kpkg
-KDREV           = "Custom.1.00"
+KDREV           ?= "Custom.1.00"
 
 # Separate the epoch from the normal revision number in KDREV
 # for use with dh_gencontrol
@@ -56,7 +56,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) debconf
+       $(MAKE) KSRC="$(KSRC)" debconf
        #/usr/bin/docbook-to-man debian/lirc-modules.sgml > lirc-modules.1
 
        touch build-stamp
@@ -67,7 +67,7 @@
        rm -f build-stamp configure-stamp
 
        # Add here commands to clean up after the build process.
-       -$(MAKE) clean
+       -$(MAKE) KSRC="$(KSRC)" clean
 
        dh_clean
 
@@ -80,7 +80,7 @@
        dh_installdirs
 
        # Add here commands to install the package into debian/lirc-modules.
-       $(MAKE) install prefix=$(CURDIR)/debian/lirc-modules-$(KVERS)
+       $(MAKE) KSRC="$(KSRC)" install 
prefix=$(CURDIR)/debian/lirc-modules-$(KVERS)
 
 
 # Build architecture-independent files here.
@@ -114,9 +114,17 @@
        dh_installdeb
 #      dh_perl
        dh_shlibdeps
-       dh_gencontrol -- -v$(KDREV_EPOCH)$(VERS)+$(KDREV_REV)
+#      dh_gencontrol -- -v$(KDREV_EPOCH)$(VERS)+$(KDREV_REV)
        dh_md5sums
+ifeq "$(origin KPKG_DEST_DIR)" "undefined"
+ifeq "$(origin KMAINT)" "undefined"
+       dh_builddeb --destdir=$(CURDIR)/..
+else
        dh_builddeb --destdir=$(KSRC)/..
+endif
+else
+       dh_builddeb --destdir=$(KPKG_DEST_DIR)
+endif
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure

Reply via email to