2006-09-05 07:24:58 +00:00
|
|
|
DESCRIPTION = "Package maintenance system for Debian."
|
|
|
|
LICENSE = "GPL"
|
|
|
|
SECTION = "base"
|
|
|
|
|
2011-09-13 13:30:37 +00:00
|
|
|
INC_PR = "r5"
|
2011-08-05 01:07:08 +00:00
|
|
|
|
2010-10-08 16:35:01 +00:00
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \
|
2011-08-18 00:17:52 +00:00
|
|
|
file://ignore_extra_fields.patch"
|
2006-10-31 09:13:45 +00:00
|
|
|
|
2011-01-13 01:14:59 +00:00
|
|
|
DEPENDS = "zlib bzip2 perl"
|
2011-05-31 07:15:18 +00:00
|
|
|
DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native-runtime"
|
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
|
|
|
|
2011-08-05 01:07:08 +00:00
|
|
|
inherit autotools gettext perlnative
|
2006-09-19 09:04:09 +00:00
|
|
|
|
|
|
|
DPKG_INIT_POSITION = "98"
|
|
|
|
|
2011-09-13 13:30:37 +00:00
|
|
|
do_install_prepend () {
|
|
|
|
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
|
2011-09-13 13:30:37 +00:00
|
|
|
printf "#!/bin/sh
|
|
|
|
dpkg --configure -a
|
|
|
|
rm -f ${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
|
|
|
" > ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
|
|
|
chmod 0755 ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
|
2006-09-19 09:04:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_configure () {
|
|
|
|
echo >> m4/compiler.m4
|
|
|
|
autotools_do_configure
|
|
|
|
}
|