Added Depends: libapt-pkg2.2 to the libapt-pkg-dev
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:08 +0000 (16:53 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:08 +0000 (16:53 +0000)
Author: mblevin
Date: 1999-03-16 09:43:41 GMT
Added Depends: libapt-pkg2.2 to the libapt-pkg-dev

debian/control
debian/rules

index 4e599cc..0cb52fe 100644 (file)
@@ -23,7 +23,7 @@ Description: Advanced front-end for dpkg
 Package: libapt-pkg-dev
 Architecture: any
 Priority: optional
-Depends: ${shlibs:Depends}
+Depends: libapt-pkg${libapt-pkg:major}
 Description: Development files for APT's libapt-pkg
  This package contains the header files and static libraries for
  developing with APT's libapt-pkg Debian package manipulation
index 82c3b0a..3de9988 100755 (executable)
@@ -2,7 +2,7 @@
 # Made with the aid of dh_make, by Craig Small
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.7 1999/03/12 22:34:34 mblevin Exp $
+# $Id: rules,v 1.8 1999/03/16 09:43:41 mblevin Exp $
 
 
 # Uncomment this to turn on verbose mode.
@@ -15,6 +15,7 @@ build: build-stamp
 build-stamp: configure
        dh_testdir
        mkdir build
+       make startup
        cd build; ../configure
        cd ..
 #      cd build && CXXFLAGS="-g -Wall -D_POSIX_C_SOURCE=199309" ../configure --disable-nls --disable-static --prefix=/usr
@@ -113,6 +114,7 @@ libapt-pkg-dev: build
        dh_fixperms -plibapt-pkg-dev
        dh_installdeb -plibapt-pkg-dev
        dh_shlibdeps -plibapt-pkg-dev
+       echo libapt-pkg:major=${LIBAPT_MAJOR} >> debian/libapt-pkg-dev.substvars
        dh_gencontrol -plibapt-pkg-dev
        dh_md5sums -plibapt-pkg-dev
        dh_builddeb -plibapt-pkg-dev