diff options
Diffstat (limited to 'meta/packages/pcmciautils/pcmciautils_010.bb')
-rw-r--r-- | meta/packages/pcmciautils/pcmciautils_010.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/pcmciautils/pcmciautils_010.bb b/meta/packages/pcmciautils/pcmciautils_010.bb new file mode 100644 index 0000000000..8045a0e442 --- /dev/null +++ b/meta/packages/pcmciautils/pcmciautils_010.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem" | ||
2 | DEPENDS = "sysfsutils udev module-init-tools" | ||
3 | RDEPENDS = "udev module-init-tools" | ||
4 | HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" | ||
5 | SECTION = "kernel/userland" | ||
6 | PRIORITY = "optional" | ||
7 | |||
8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2" | ||
9 | S = "${WORKDIR}/pcmciautils-${PV}" | ||
10 | |||
11 | PR = "r3" | ||
12 | |||
13 | export HOSTCC = "${BUILD_CC}" | ||
14 | export etcdir = "${sysconfdir}" | ||
15 | export sbindir = "${base_sbindir}" | ||
16 | export pcmciaconfdir = "${sysconfdir}/pcmcia" | ||
17 | export udevrulesdir = "${sysconfdir}/udev/rules.d" | ||
18 | export UDEV = 1 | ||
19 | LD = "${CC}" | ||
20 | CFLAGS =+ "-I${S}/src" | ||
21 | CFLAGS =+ '-DPCMCIAUTILS_VERSION=010' | ||
22 | |||
23 | PARALLEL_MAKE = "" | ||
24 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'" | ||
25 | |||
26 | do_install () { | ||
27 | oe_runmake 'DESTDIR=${D}' install | ||
28 | } | ||
29 | |||
30 | CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts" | ||
31 | RCONFLICTS_${PN} += "pcmcia-cs" | ||