add machine specific files to SRC_URI and install the
authorMichael Lauer <mickey@vanille-media.de>
Sat, 5 Jun 2004 15:19:14 +0000 (15:19 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 5 Jun 2004 15:19:14 +0000 (15:19 +0000)
machine specific tslib.sh into /etc/profile.d/

BKrev: 40c1e472o8ukvaJgE50UlPTYpUZa9Q

tslib/tslib_cvs.oe

index e75a4ea..3f3b777 100644 (file)
@@ -2,7 +2,19 @@ PV = "0.1cvs${CVSDATE}"
 
 DESCRIPTION = "tslib is a touchscreen access library."
 
-SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=apps/tslib"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=apps/tslib \
+           file://collie/ts.conf \
+           file://collie/tslib.sh \
+           file://corgi/ts.conf \
+           file://corgi/tslib.sh \
+           file://h3600/ts.conf \
+           file://h3600/tslib.sh \
+           file://husky/ts.conf \
+           file://husky/tslib.sh \
+           file://poodle/ts.conf \
+           file://poodle/tslib.sh \
+           file://shepherd/ts.conf \
+           file://shepherd/tslib.sh"
 S = "${WORKDIR}/tslib"
 
 inherit autotools
@@ -20,4 +32,9 @@ do_install_prepend () {
        oe_machinstall -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
 }
 
+do_install_append() {
+       install -d ${D}/${sysconfdir}/profile.d/
+       oe_machinstall -m 0755 ${WORKDIR}/tslib.sh ${D}/${sysconfdir}/profile.d/
+}
+
 FILES_tslib_append = " ${datadir}/ts/plugins/*.so"