2006-09-05 07:24:58 +00:00
|
|
|
DESCRIPTION = "Package maintenance system for Debian."
|
|
|
|
LICENSE = "GPL"
|
|
|
|
SECTION = "base"
|
|
|
|
|
2010-10-08 16:35:01 +00:00
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \
|
|
|
|
file://ignore_extra_fields.patch;patch=1"
|
2006-10-31 09:13:45 +00:00
|
|
|
|
2010-01-13 23:25:08 +00:00
|
|
|
DEPENDS = "zlib bzip2"
|
2010-01-14 23:30:12 +00:00
|
|
|
DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native"
|
2010-01-13 23:25:08 +00:00
|
|
|
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
|
2010-02-04 19:19:52 +00:00
|
|
|
RDEPENDS_${PN}_virtclass-native = ""
|
2010-01-13 23:25:08 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/${BPN}-${PV}"
|
2006-09-05 07:24:58 +00:00
|
|
|
|
|
|
|
PARALLEL_MAKE = ""
|
2006-09-19 09:04:09 +00:00
|
|
|
|
|
|
|
inherit autotools gettext
|
|
|
|
|
|
|
|
DPKG_INIT_POSITION = "98"
|
|
|
|
DPKG_INIT_POSITION_slugos = "41"
|
|
|
|
|
|
|
|
pkg_postinst_dpkg () {
|
|
|
|
#!/bin/sh
|
|
|
|
if [ "x$D" != "x" ]; then
|
2009-01-23 16:15:06 +00:00
|
|
|
install -d $D/${sysconfdir}/rcS.d
|
2006-09-19 09:04:09 +00:00
|
|
|
# this happens at S98 where our good 'ole packages script used to run
|
|
|
|
echo -e "#!/bin/sh
|
|
|
|
dpkg --configure -a
|
2008-07-03 10:46:27 +00:00
|
|
|
rm -f /${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
2006-09-19 09:04:09 +00:00
|
|
|
" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
2009-01-23 16:15:06 +00:00
|
|
|
chmod 0755 $D/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
2006-09-19 09:04:09 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_configure () {
|
|
|
|
echo >> m4/compiler.m4
|
|
|
|
autotools_do_configure
|
|
|
|
}
|