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
# 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.
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
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