raise bb.build.FuncFailed
}
+EPOCH ?= ""
+
python do_package_ipk () {
import copy # to back up env data
import sys
raise bb.build.FuncFailed("unable to open control file for writing.")
fields = []
- fields.append(["Version: %s-%s\n", ['PV', 'PR']])
+ fields.append(["Version: %s%s-%s\n", ['EPOCH', 'PV', 'PR']])
fields.append(["Description: %s\n", ['DESCRIPTION']])
fields.append(["Section: %s\n", ['SECTION']])
fields.append(["Priority: %s\n", ['PRIORITY']])
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
SECTION = "base"
LICENSE = "GPL"
-PR = "r9"
-DEPENDS += "fakeroot-native virtual/kernel"
+EPOCH = "1:"
+PR = "r11"
-RPROVIDES = "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
-RCONFLICTS = "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
-RREPLACES = "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
+DEPENDS += "fakeroot-native virtual/kernel"
SRC_URI = "ftp://ftp.handhelds.org/packages/alsa-driver/alsa-driver-${PV}.tar.gz \
file://sound.p.patch;patch=1 \
inherit autotools module update-rc.d
+RPROVIDES_${PN} += "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
+RCONFLICTS_${PN} += "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
+RREPLACES_${PN} += "${@linux_module_packages('h3600-uda1341 uda1341', d)}"
+
+# the same for old style naming...
+RPROVIDES_${PN} += "kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37 kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37"
+RCONFLICTS_${PN} += "kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37 kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37"
+RREPLACES_${PN} += "kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37 kernel-module-h3600-uda1341-2.4.19-rmk6-pxa1-hh37"
+
INITSCRIPT_NAME = "alsa-driver"
INITSCRIPT_PARAMS = "start 29 S . stop 29 0 6 1 ."