summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apmd/apmd_3.2.0.oe5
-rw-r--r--base-files/base-files_3.0.12.oe14
-rw-r--r--binutils/binutils-cross_2.14.90.0.6.oe6
-rw-r--r--binutils/binutils-uclibc-cross_2.14.90.0.6.oe6
-rw-r--r--dropbear/dropbear_0.36.oe2
-rw-r--r--dropbear/dropbear_0.38.oe14
-rw-r--r--flite/flite_1.2.oe16
-rw-r--r--freeswan/freeswan_2.0.4.oe18
-rw-r--r--freetype/freetype_2.1.7.oe2
-rw-r--r--frotz/frotz_2.42.oe4
-rw-r--r--gcc/gcc-uclibc_3.3.2.oe2
-rw-r--r--gcc/gcc_3.3.2.oe2
-rw-r--r--glibc/glibc_2.3.2.oe1
-rw-r--r--ipkg-utils/ipkg-utils_1.0cvs.oe21
-rw-r--r--iptables/iptables_1.2.9.oe17
-rw-r--r--iputils/iputils_20020927.oe25
-rw-r--r--irda-utils/irda-utils_0.9.15.oe2
-rw-r--r--libdaemon/libdaemon_0.3.oe21
-rw-r--r--libxine/libxine_1.6.0.oe72
-rw-r--r--mgetty/mgetty_1.1.30.oe61
-rw-r--r--modplugplay/modplugplay_1.0.oe17
-rw-r--r--mtd/mtd.oe4
-rw-r--r--ncurses/ncurses_5.3.oe2
-rw-r--r--openssh/openssh_3.7.1p1.oe4
-rw-r--r--openssh/openssh_3.7.1p2.oe4
-rw-r--r--openssl/openssl_0.9.7b.oe2
-rw-r--r--openssl/openssl_0.9.7c.oe2
-rw-r--r--patcher/patcher_1.0.oe4
-rw-r--r--portaudio/portaudio_0.0.19.oe27
-rw-r--r--python/pyserial_2.0.oe0
-rw-r--r--python/python-2.3.3/crosscompile.patch0
-rw-r--r--python/python_2.3.3.oe46
-rw-r--r--python/sgmlop_1.1.oe0
-rw-r--r--qte/qte_2.3.6.oe4
-rw-r--r--qte/qte_2.3.7.oe4
-rw-r--r--qte/qte_2.3.8-snap.oe4
-rw-r--r--sysvinit/sysvinit_2.85.oe6
-rw-r--r--tmake/tmake_1.11.oe28
-rw-r--r--uclibc/uclibc-initial_0.9.21.oe2
-rw-r--r--uclibc/uclibc_0.9.21.oe16
-rw-r--r--udev/udev_003.oe6
-rw-r--r--udev/udev_006.oe19
-rw-r--r--udev/udev_007.oe21
-rw-r--r--udev/udev_008.oe21
-rw-r--r--udev/udev_009.oe22
-rw-r--r--udev/udev_012.oe21
46 files changed, 541 insertions, 56 deletions
diff --git a/apmd/apmd_3.2.0.oe b/apmd/apmd_3.2.0.oe
index e76e4dd028..07ac0799ae 100644
--- a/apmd/apmd_3.2.0.oe
+++ b/apmd/apmd_3.2.0.oe
@@ -43,13 +43,12 @@ do_install() {
install -d ${D}/${sbindir}
install -d ${D}/${bindir}
install -d ${D}/${libdir}
- install -d ${D}/usr/share
- install -d ${D}/usr/share/apmd
+ install -d ${D}/${datadir}/apmd
install -m 4755 ${S}/.libs/apm ${D}/${bindir}/apm.orig
install -m 0755 ${FILESDIR}/apmwrapper ${D}/${bindir}/apm
install -m 0755 ${S}/.libs/apmd ${D}/${sbindir}/apmd
install -m 0755 ${S}/debian/apmd_proxy ${D}/${sysconfdir}/apm/
- install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/usr/share/apmd/
+ install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/${datadir}/apmd/
install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd
install -m 0755 .libs/libapm.so.1.0.0 ${D}/${libdir}
ln -sf ./libapm.so.1.0.0 ${D}/${libdir}/libapm.so.1.0
diff --git a/base-files/base-files_3.0.12.oe b/base-files/base-files_3.0.12.oe
index 55478e99c2..2117df257b 100644
--- a/base-files/base-files_3.0.12.oe
+++ b/base-files/base-files_3.0.12.oe
@@ -3,7 +3,7 @@ SRC_URI := ${DEBIAN_MIRROR}/main/b/base-files/base-files_3.0.12.tar.gz
docdir_append=/${P}
do_install () {
install -d ${D}/${docdir}
- install -d ${D}/usr/share/${PN}
+ install -d ${D}${datadir}/${PN}
install -p -m 644 debian/changelog debian/FAQ \
debian/README.FHS debian/README.base ${D}/${docdir}/
cat debian/copyright.in | sed -e "s&#OSNAME#&${TARGET_OS}&g" \
@@ -12,14 +12,14 @@ do_install () {
# cd debian && install -m 755 preinst postinst ${D}/DEBIAN
# cd debian && install -m 644 conffiles ${D}/DEBIAN
( cd ${D} && install -d `cat ${S}/debian/directory-list` )
- install -p -m 644 share/* ${D}/usr/share/base-files
- install -p -m 644 licenses/* ${D}/usr/share/common-licenses
- ln -s LGPL-2.1 ${D}/usr/share/common-licenses/LGPL
- ln -s GPL-2 ${D}/usr/share/common-licenses/GPL
+ install -p -m 644 share/* ${D}${datadir}/base-files
+ install -p -m 644 licenses/* ${D}${datadir}/common-licenses
+ ln -s LGPL-2.1 ${D}${datadir}/common-licenses/LGPL
+ ln -s GPL-2 ${D}${datadir}/common-licenses/GPL
install -p -m 644 `ls etc/|grep -v debian` ${D}/etc
rm -f ${D}/etc/motd
- cat etc/motd | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}/usr/share/base-files/motd
- cat share/info.dir | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}/usr/share/base-files/info.dir
+ cat etc/motd | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}${datadir}/base-files/motd
+ cat share/info.dir | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}${datadir}/base-files/info.dir
gzip -9 ${docdir}/changelog
# chown -R root:root ${D}
# cd ${D} && chown root:src usr/src
diff --git a/binutils/binutils-cross_2.14.90.0.6.oe b/binutils/binutils-cross_2.14.90.0.6.oe
index 7d5e9967e3..c898d7010f 100644
--- a/binutils/binutils-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-cross_2.14.90.0.6.oe
@@ -14,9 +14,9 @@ do_stage () {
rm -rf ${CROSS_DIR}/share/locale
rm -rf ${CROSS_DIR}/share/man
rmdir ${CROSS_DIR}/share || :
- rmdir ${CROSS_DIR}/usr/lib/gcc-lib || :
- rmdir ${CROSS_DIR}/usr/lib || :
- rmdir ${CROSS_DIR}/usr || :
+ rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
+ rmdir ${CROSS_DIR}/${libdir} || :
+ rmdir ${CROSS_DIR}/${prefix} || :
# We want to move this into the target specific location
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
index 6648d5d267..7f7b696d38 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
@@ -14,9 +14,9 @@ do_stage () {
rm -rf ${CROSS_DIR}/share/locale
rm -rf ${CROSS_DIR}/share/man
rmdir ${CROSS_DIR}/share || :
- rmdir ${CROSS_DIR}/usr/lib/gcc-lib || :
- rmdir ${CROSS_DIR}/usr/lib || :
- rmdir ${CROSS_DIR}/usr || :
+ rmdir ${CROSS_DIR}${libdir}/gcc-lib || :
+ rmdir ${CROSS_DIR}${libdir} || :
+ rmdir ${CROSS_DIR}${prefix} || :
# We want to move this into the target specific location
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
diff --git a/dropbear/dropbear_0.36.oe b/dropbear/dropbear_0.36.oe
index 6bda95d4dc..f837b3b2fd 100644
--- a/dropbear/dropbear_0.36.oe
+++ b/dropbear/dropbear_0.36.oe
@@ -10,5 +10,5 @@ inherit autotools
CFLAGS_append = " -I${S}/libtomcrypt"
LD=${CC}
do_install_prepend () {
- install -d ${D}/usr/sbin ${D}/usr/bin
+ install -d ${D}${sbindir} ${D}${bindir}
}
diff --git a/dropbear/dropbear_0.38.oe b/dropbear/dropbear_0.38.oe
index e69de29bb2..f837b3b2fd 100644
--- a/dropbear/dropbear_0.38.oe
+++ b/dropbear/dropbear_0.38.oe
@@ -0,0 +1,14 @@
+DESCRIPTION="Dropbear SSH Implementation"
+LICENSE="MIT"
+DEPENDS=virtual/libc zlib ncurses
+
+SRC_URI="http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2"
+S="${WORKDIR}/${P}"
+
+inherit autotools
+
+CFLAGS_append = " -I${S}/libtomcrypt"
+LD=${CC}
+do_install_prepend () {
+ install -d ${D}${sbindir} ${D}${bindir}
+}
diff --git a/flite/flite_1.2.oe b/flite/flite_1.2.oe
index e69de29bb2..b0d296ba89 100644
--- a/flite/flite_1.2.oe
+++ b/flite/flite_1.2.oe
@@ -0,0 +1,16 @@
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+
+SRC_URI=http://www.speech.cs.cmu.edu/flite/packed/flite-1.2/flite-${PV}-release.tar.bz2
+S=${WORKDIR}/flite-${PV}-release
+
+inherit autotools libtool
+
+EXTRA_OECONF="--enable-shared"
+
+do_install() {
+ oe_runmake INSTALLBINDIR="${D}${bindir}" INSTALLLIBDIR="${D}${libdir}" INSTALLINCDIR="${D}${includedir}" install
+}
+
diff --git a/freeswan/freeswan_2.0.4.oe b/freeswan/freeswan_2.0.4.oe
index e69de29bb2..031e31f017 100644
--- a/freeswan/freeswan_2.0.4.oe
+++ b/freeswan/freeswan_2.0.4.oe
@@ -0,0 +1,18 @@
+DESCRIPTION = FreeS/WAN IPSEC
+DEPENDS = virtual/libc gmp
+RDEPENDS = libc6 gmp
+
+SRC_URI = ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-2.04.tar.gz \
+ file://${FILESDIR}/pathnames.patch;patch=1 \
+ file://${FILESDIR}/flags.patch;patch=1
+
+S = "${WORKDIR}/freeswan-2.04"
+
+do_compile () {
+ oe_runmake INC_USRLOCAL=${prefix} 'CFLAGS=${CFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}' programs
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}/init.d
+ oe_runmake INC_USRLOCAL=${prefix} DESTDIR=${D} install
+}
diff --git a/freetype/freetype_2.1.7.oe b/freetype/freetype_2.1.7.oe
index 780540331d..f98469d6e5 100644
--- a/freetype/freetype_2.1.7.oe
+++ b/freetype/freetype_2.1.7.oe
@@ -30,7 +30,7 @@ do_stage () {
install -d ${STAGING_INCDIR}/freetype2
cp -a include/freetype ${STAGING_INCDIR}/freetype2/
- sed -e 's,/usr,${STAGING_DIR}/target,' < builds/unix/freetype-config > ${STAGING_BINDIR}/freetype-config
+ sed -e 's,${prefix},${STAGING_DIR}/target,' < builds/unix/freetype-config > ${STAGING_BINDIR}/freetype-config
chmod u+x ${STAGING_BINDIR}/freetype-config
}
diff --git a/frotz/frotz_2.42.oe b/frotz/frotz_2.42.oe
index b133d33173..327fa3d690 100644
--- a/frotz/frotz_2.42.oe
+++ b/frotz/frotz_2.42.oe
@@ -9,12 +9,12 @@ do_configure() {
}
-EXTRA_OEMAKE=CC="${CC}" INCL="${CFLAGS}" LIB="${LDFLAGS}" PREFIX=/usr CONFIG_DIR=/etc
+EXTRA_OEMAKE=CC="${CC}" INCL="${CFLAGS}" LIB="${LDFLAGS}" PREFIX=${prefix} CONFIG_DIR=${sysconfdir}
do_compile() {
oe_runmake frotz
sed 's/^[a-z]/#&/' frotz.conf-big > frotz.conf;
}
do_install() {
- oe_runmake PREFIX=${D}/usr MAN_PREFIX=${D}/usr install
+ oe_runmake PREFIX=${D}${prefix} MAN_PREFIX=${D}${mandir} install
}
diff --git a/gcc/gcc-uclibc_3.3.2.oe b/gcc/gcc-uclibc_3.3.2.oe
index bfa276b1c4..0acd355ab0 100644
--- a/gcc/gcc-uclibc_3.3.2.oe
+++ b/gcc/gcc-uclibc_3.3.2.oe
@@ -33,7 +33,7 @@ SRC_URI_append = " file://${FILESDIR}/gcc-001-disable-mathf.patch;patch=1 \
file://${FILESDIR}/gcc-006-include-search.patch;patch=1 \
file://${FILESDIR}/gcc-810-libstd++-locale.patch;patch=1"
-EXTRA_OECONF := --with-local-prefix=/usr/local \
+EXTRA_OECONF := --with-local-prefix=${prefix}/local \
--with-gxx-include-dir=${includedir}/c++/${PV}-uclibc \
--enable-target-optspace \
--disable-nls \
diff --git a/gcc/gcc_3.3.2.oe b/gcc/gcc_3.3.2.oe
index 11c3aff1b4..946a673853 100644
--- a/gcc/gcc_3.3.2.oe
+++ b/gcc/gcc_3.3.2.oe
@@ -68,7 +68,7 @@ SRC_URI := http://gcc.get-software.com/releases/gcc-${PV}/gcc-${PV}.tar.bz2
S := ${WORKDIR}/gcc-${PV}
B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
-EXTRA_OECONF := --with-local-prefix=/usr/local \
+EXTRA_OECONF := --with-local-prefix=${prefix}/local \
--with-gxx-include-dir=${includedir}/c++/${PV} \
--enable-target-optspace \
--disable-nls \
diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe
index f501389188..e98f7e8cc5 100644
--- a/glibc/glibc_2.3.2.oe
+++ b/glibc/glibc_2.3.2.oe
@@ -70,7 +70,6 @@ SRC_URI = ftp://ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.gz \
S="${WORKDIR}/${P}"
B="${WORKDIR}/build-${TARGET_SYS}"
-prefix=/usr
libdir=/lib
bindir=/bin
sbindir=/sbin
diff --git a/ipkg-utils/ipkg-utils_1.0cvs.oe b/ipkg-utils/ipkg-utils_1.0cvs.oe
index e69de29bb2..2c780ca367 100644
--- a/ipkg-utils/ipkg-utils_1.0cvs.oe
+++ b/ipkg-utils/ipkg-utils_1.0cvs.oe
@@ -0,0 +1,21 @@
+DESCRIPTION="Itsy Package Manager utilities"
+DEPENDS=""
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Chris Larson <kergoth@handhelds.org>"
+LICENSE="GPL"
+#DEPENDS=virtual/libc
+
+SRC_URI:="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=ipkg-utils"
+S:="${WORKDIR}/${PN}"
+
+inherit autotools
+
+do_stage() {
+ cp ipkg* ${STAGING_BINDIR}/
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ cp ipkg* ${D}${bindir}/
+}
diff --git a/iptables/iptables_1.2.9.oe b/iptables/iptables_1.2.9.oe
index e69de29bb2..55af54b770 100644
--- a/iptables/iptables_1.2.9.oe
+++ b/iptables/iptables_1.2.9.oe
@@ -0,0 +1,17 @@
+DESCRIPTION = iptables network filtering tools
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://www.netfilter.org/files/iptables-1.2.9.tar.bz2
+
+S = "${WORKDIR}/iptables-1.2.9"
+
+do_compile () {
+ unset CFLAGS
+ oe_runmake PREFIX=${prefix}
+}
+
+do_install () {
+ unset CFLAGS
+ oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}
diff --git a/iputils/iputils_20020927.oe b/iputils/iputils_20020927.oe
index e69de29bb2..707ecc862c 100644
--- a/iputils/iputils_20020927.oe
+++ b/iputils/iputils_20020927.oe
@@ -0,0 +1,25 @@
+SRC_URI = http://www.tux.org/pub/people/alexey-kuznetsov/ip-routing/iputils-ss020927.tar.gz
+S = ${WORKDIR}/${PN}
+
+EXTRA_OEMAKE =
+
+do_compile () {
+ oe_runmake 'CC=${CC}' \
+ KERNEL_INCLUDE="${STAGING_DIR}/target/include" \
+ LIBC_INCLUDE="${STAGING_DIR}/target/include"
+ oe_runmake -C doc 'CC=${CC}' \
+ KERNEL_INCLUDE="${STAGING_DIR}/target/include" \
+ LIBC_INCLUDE="${STAGING_DIR}/target/include"
+}
+
+do_install () {
+ install -d ${D}/bin ${D}${sbindir} \
+ ${D}/${mandir}/man8 ${D}/${datadir}/doc/${P}
+ install -m 0755 ping ${D}/bin/
+ for f in ipg tracepath clockdiff rdisc arping \
+ tftpd rarpd tracepath6 traceroute6 ping6; do
+ install -m 0755 $f ${D}/${sbindir}/
+ done
+ install -m 0644 doc/*.8 ${D}/${mandir}/man8/
+ install -m 0644 doc/*.html ${D}/${datadir}/doc/${P}/
+}
diff --git a/irda-utils/irda-utils_0.9.15.oe b/irda-utils/irda-utils_0.9.15.oe
index 0a314164e0..632eafa33e 100644
--- a/irda-utils/irda-utils_0.9.15.oe
+++ b/irda-utils/irda-utils_0.9.15.oe
@@ -15,7 +15,7 @@ do_compile () {
}
do_install () {
- install -d ${D}/usr/sbin
+ install -d ${D}${sbindir}
oe_runmake -C irattach ROOT="${D}" install
oe_runmake -C irdaping ROOT="${D}" install
}
diff --git a/libdaemon/libdaemon_0.3.oe b/libdaemon/libdaemon_0.3.oe
index e69de29bb2..dc292df4b7 100644
--- a/libdaemon/libdaemon_0.3.oe
+++ b/libdaemon/libdaemon_0.3.oe
@@ -0,0 +1,21 @@
+DESCRIPTION = libdaemon is a lightweight C library which eases the writing of UNIX daemons.
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz
+
+inherit autotools libtool
+
+EXTRA_OECONF = --disable-lynx
+
+do_stage () {
+ install -m 0755 src/.libs/libdaemon.so.0.1.0 ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libdaemon.a ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libdaemon.lai ${STAGING_LIBDIR}/libdaemon.la
+ ln -sf libdaemon.so.0.1.0 ${STAGING_LIBDIR}/libdaemon.so.0
+ ln -sf libdaemon.so.0.1.0 ${STAGING_LIBDIR}/libdaemon.so
+ install -d ${STAGING_INCDIR}/libdaemon
+ for i in dlog.h dfork.h dsignal.h dnonblock.h dpid.h; do
+ install -m 0644 src/$i ${STAGING_INCDIR}/libdaemon/
+ done
+}
diff --git a/libxine/libxine_1.6.0.oe b/libxine/libxine_1.6.0.oe
index e69de29bb2..310a7a44c6 100644
--- a/libxine/libxine_1.6.0.oe
+++ b/libxine/libxine_1.6.0.oe
@@ -0,0 +1,72 @@
+DESCRIPTION = "libxine"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
+DEPENDS = virtual/libc zlib libogg tremor libmad
+RDEPENDS = libc6 zlib libogg tremor libmad
+
+inherit autotools
+
+S = ${WORKDIR}/xine-lib
+
+SRC_URI = "cvs://anonymous@cvs.xine.sf.net/cvsroot/xine;module=xine-lib;tag=xine-1-beta12-release \
+ file://${FILESDIR}/full.patch;patch=1 \
+ file://${FILESDIR}/libvorbis.patch;patch=0 \
+ file://${FILESDIR}/demux_ogg.patch;patch=0 \
+ file://${FILESDIR}/configure.ac.patch;patch=0 \
+ file://${FILESDIR}/vo_scale.patch;patch=0"
+
+do_configure() {
+ ./autogen.sh --host ${TARGET_SYS} --build ${BUILD_SYS} \
+ --enable-shared --disable-static --prefix=${prefix} \
+ --with-zlib-path=${STAGING_DIR} --with-vorbis-prefix=${STAGING_DIR} \
+ --disable-oggtest --with-ogg-prefix=${STAGING_DIR} --without-x \
+ --disable-iconv --disable-nls --without-arts --without-sdl \
+ --disable-aalib
+}
+
+do_compile() {
+ oe_runmake LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool
+}
+
+# ug - we don't do elegant/purdy today
+do_install() {
+ oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
+ -C src install-data \
+ 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \
+ 'includedir=${D}/${includedir}'
+ oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
+ -C include install-data \
+ 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \
+ 'includedir=${D}/${includedir}'
+ install -m 0755 -d ${D}/${libdir}/xine/plugins/1.0.0
+ for plugin in `find ${S}/src -type f -name xineplug*.la`; do
+ dso=`dirname $plugin`/.libs/`basename $plugin .la`.so
+ install -m 0755 $dso ${D}/${libdir}/xine/plugins/1.0.0
+ done
+ install -m 0755 src/xine-engine/.libs/libxine.so.${PV} ${D}${libdir}
+ ln -fs libxine.so.$PV ${D}${libdir}/libxine.so.1
+ ln -fs libxine.so.$PV ${D}${libdir}/libxine.so
+}
+
+do_stage() {
+ oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
+ -C src install-data \
+ 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
+ 'libdir=${STAGING_DIR}/target/lib' \
+ 'includedir=${STAGING_DIR}/target/include'
+ oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
+ -C include install-data \
+ 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
+ 'libdir=${STAGING_DIR}/target/lib' \
+ 'includedir=${STAGING_DIR}/target/include'
+ install -m 0755 -d ${STAGING_DIR}/target/lib/xine/plugins/1.0.0
+ for plugin in `find ${S}/src -type f -name xineplug*.la`; do
+ dso=`dirname $plugin`/.libs/`basename $plugin .la`.so
+ install -m 0755 $dso ${STAGING_DIR}/target/lib/xine/plugins/1.0.0
+ done
+ install -m 0755 src/xine-engine/.libs/libxine.so.${PV} \
+ ${STAGING_DIR}/target/lib
+ ln -fs libxine.so.$PV ${STAGING_DIR}/target/lib/libxine.so.1
+ ln -fs libxine.so.$PV ${STAGING_DIR}/target/lib/libxine.so
+}
diff --git a/mgetty/mgetty_1.1.30.oe b/mgetty/mgetty_1.1.30.oe
index e69de29bb2..51ea4e7790 100644
--- a/mgetty/mgetty_1.1.30.oe
+++ b/mgetty/mgetty_1.1.30.oe
@@ -0,0 +1,61 @@
+#SRC_URI = ftp://alpha.greenie.net/pub/mgetty/source/1.0/mgetty+sendfax-${PV}.tar.gz
+SRC_URI = ${DEBIAN_MIRROR}/main/m/mgetty/mgetty_${PV}.orig.tar.gz \
+ file://${FILESDIR}/debian.patch;patch=1 \
+ file://${FILESDIR}/00-g3_Makefile;patch=1 \
+ file://${FILESDIR}/01-adjust-path;patch=1 \
+ file://${FILESDIR}/02-pending-fix-includes;patch=1 \
+ file://${FILESDIR}/03-callback_Makefile;patch=1 \
+ file://${FILESDIR}/04-new_fax.pbm;patch=1 \
+ file://${FILESDIR}/06-pending-contrib_g3tolj.c;patch=1 \
+ file://${FILESDIR}/07-pending-contrib_g3toxwd.c;patch=1 \
+ file://${FILESDIR}/09-doc_Makefile;patch=1 \
+ file://${FILESDIR}/10-doc_faxrunqd.8in;patch=1 \
+ file://${FILESDIR}/12-fax_faxrunqd.in;patch=1 \
+ file://${FILESDIR}/13-fax_faxspool.in;patch=1 \
+ file://${FILESDIR}/14-frontends_X11_viewfax-2.5_Makefile;patch=1 \
+ file://${FILESDIR}/23-samples_new_fax.mime4;patch=1 \
+ file://${FILESDIR}/24-voice_include_paths.h;patch=1 \
+ file://${FILESDIR}/26-voice_libpvf_usr.c;patch=1 \
+ file://${FILESDIR}/36-voice_voice.conf-dist;patch=1 \
+ file://${FILESDIR}/37-Makefile;patch=1 \
+ file://${FILESDIR}/39-mgetty.cfg.in;patch=1 \
+ file://${FILESDIR}/40-locks.c_bug153394;patch=1 \
+ file://${FILESDIR}/41-ugly-redo-ring.c_bug128668;patch=1 \
+ file://${FILESDIR}/42-voice_libvoice_detect.c;patch=1 \
+ file://${FILESDIR}/43-moreinfo-cnd.c_bug112163;patch=1 \
+ file://${FILESDIR}/44-pending-faxexpand.h_bug169455;patch=1 \
+ file://${FILESDIR}/45-logfile.c;patch=1 \
+ file://${FILESDIR}/47-doc_mgetty.texi-in;patch=1 \
+ file://${FILESDIR}/50-pending-voice-zoom-2949l-c;patch=1 \
+ file://${FILESDIR}/51-pending-faxq-time;patch=1 \
+ file://${FILESDIR}/52-pending-metamail;patch=1 \
+ file://${FILESDIR}/install.patch;patch=1
+
+do_compile () {
+ cp ${FILESDIR}/policy.h ${FILESDIR}/voice-defs.h .
+ ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
+ -I.. -DBINDIR=\"${bindir}\" -DSBINDIR=\"${sbindir}\" \
+ -DLIBDIR=\"${libdir}/mgetty-fax\" \
+ -DCONFDIR=\"${sysconfdir}/mgetty\" \
+ -DFAX_SPOOL=\"/var/spool/fax\" \
+ -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \
+ -DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \
+ -DFAX_OUT_USER=\"uucp\" \
+ -DVARRUNDIR=\"/var/run\" \
+ -DAWK=\"awk\" \
+ -DPERL=\""/usr/bin/perl -w"\" -DTKPERL=\"/usr/bin/tkperl\" \
+ -DECHO=\""echo -e"\" \
+ -DSHELL=\"/bin/bash\" \
+ -o mksed mksed.c
+ ./mksed >sedscript
+ chmod u+x sedscript
+ oe_runmake
+ oe_runmake vgetty
+# cd doc; $(MAKE) manpages mgetty.info $(GCC)
+# cd contrib; $(MAKE) g3toxwd g3tolj
+# cd $(VFDIR); $(MAKE)
+}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
diff --git a/modplugplay/modplugplay_1.0.oe b/modplugplay/modplugplay_1.0.oe
index e69de29bb2..adfd380aa2 100644
--- a/modplugplay/modplugplay_1.0.oe
+++ b/modplugplay/modplugplay_1.0.oe
@@ -0,0 +1,17 @@
+DEPENDS = virtual/libc libmodplug
+RDEPENDS = libc6 libmodplug
+
+SRC_URI = http://www.linuks.mine.nu/modplugplay/${P}.tar.gz
+
+do_compile() {
+ ${CC} -c ${CFLAGS} modplugplay.c -o modplugplay.o -I${STAGING_DIR}/target/include
+ ${CC} -o modplugplay modplugplay.o ${LDFLAGS} -L${STAGING_LIBDIR} -lmodplug
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -d ${D}${mandir}/man1
+ install -m 755 modplugplay ${D}${bindir}/
+ install -m 644 modplugplay.1 ${D}${mandir}/man1/
+}
+
diff --git a/mtd/mtd.oe b/mtd/mtd.oe
index 7f06163305..64b8116825 100644
--- a/mtd/mtd.oe
+++ b/mtd/mtd.oe
@@ -10,10 +10,10 @@ CPPFLAGS_prepend = "-I${S}/../include "
CXXFLAGS_prepend = "-I${S}/../include "
do_install () {
- install -d ${D}/usr/bin
+ install -d ${D}${bindir}
for binary in ftl_format erase eraseall nanddump doc_loadbios \
mkfs.jffs ftl_check mkfs.jffs2 lock unlock einfo mtd_debug \
fcp nandwrite jffs2dump; do
- install -m 0755 $binary ${D}/usr/bin/
+ install -m 0755 $binary ${D}${bindir}
done
}
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index c7c895772f..49637fc6a4 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -23,7 +23,7 @@ EXTRA_OECONF=--with-shared \
--without-ada \
--enable-termcap \
--without-cxx-binding \
- --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
+ --with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
--enable-overwrite
export BUILD_CC := ${BUILD_CC}
export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
diff --git a/openssh/openssh_3.7.1p1.oe b/openssh/openssh_3.7.1p1.oe
index e55c958cc8..7e7108e9b0 100644
--- a/openssh/openssh_3.7.1p1.oe
+++ b/openssh/openssh_3.7.1p1.oe
@@ -15,8 +15,8 @@ SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.g
inherit autotools
-export sysconfdir = /etc/ssh
-export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+sysconfdir_append=/ssh
+export ASKPASS_PROGRAM = ${bindir}/ssh-askpass
export LD = ${CC}
CFLAGS_prepend = "-I${S} "
CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
diff --git a/openssh/openssh_3.7.1p2.oe b/openssh/openssh_3.7.1p2.oe
index e55c958cc8..b97e80e597 100644
--- a/openssh/openssh_3.7.1p2.oe
+++ b/openssh/openssh_3.7.1p2.oe
@@ -15,8 +15,8 @@ SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.g
inherit autotools
-export sysconfdir = /etc/ssh
-export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+sysconfdir_append = /ssh
+export ASKPASS_PROGRAM = ${bindir}/ssh-askpass
export LD = ${CC}
CFLAGS_prepend = "-I${S} "
CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
diff --git a/openssl/openssl_0.9.7b.oe b/openssl/openssl_0.9.7b.oe
index 10cdbce083..882c089760 100644
--- a/openssl/openssl_0.9.7b.oe
+++ b/openssl/openssl_0.9.7b.oe
@@ -12,7 +12,7 @@ export DIRS = "crypto ssl"
export EX_LIBS = "-lgcc -ldl -L${STAGING_LIBDIR}"
do_compile () {
- perl util/perlpath.pl /usr/bin
+ perl util/perlpath.pl ${bindir}
ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
if test "X${TARGET_OS}" = "Xlinux"; then
target=${TARGET_OS}-elf
diff --git a/openssl/openssl_0.9.7c.oe b/openssl/openssl_0.9.7c.oe
index d3c8fdc52a..a7aa97376c 100644
--- a/openssl/openssl_0.9.7c.oe
+++ b/openssl/openssl_0.9.7c.oe
@@ -12,7 +12,7 @@ export DIRS = "crypto ssl"
export EX_LIBS = "-lgcc -ldl -L${STAGING_LIBDIR}"
do_compile () {
- perl util/perlpath.pl /usr/bin
+ perl util/perlpath.pl ${bindir}
ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
if test "X${TARGET_OS}" = "Xlinux"; then
target=${TARGET_OS}-elf
diff --git a/patcher/patcher_1.0.oe b/patcher/patcher_1.0.oe
index f2c5724502..b5cda68409 100644
--- a/patcher/patcher_1.0.oe
+++ b/patcher/patcher_1.0.oe
@@ -17,8 +17,8 @@ do_stage() {
}
do_install() {
- install -d ${D}/usr/bin
- install -m 0755 ${DL_DIR}/patcher ${D}/usr/bin
+ install -d ${D}${bindir}
+ install -m 0755 ${DL_DIR}/patcher ${D}/${bindir}
}
DEPENDS_prepend_delete="patcher "
diff --git a/portaudio/portaudio_0.0.19.oe b/portaudio/portaudio_0.0.19.oe
index e69de29bb2..8875a77e69 100644
--- a/portaudio/portaudio_0.0.19.oe
+++ b/portaudio/portaudio_0.0.19.oe
@@ -0,0 +1,27 @@
+SECTION="libs"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+DESCRIPTION=A portable audio library
+
+SRC_URI=http://www.portaudio.com/archives/pa_snapshot_v19.tar.gz
+S=${WORKDIR}/portaudio
+
+inherit autotools libtool pkgconfig
+
+do_stage() {
+ install -m 0755 lib/libportaudio.so.${PV} ${STAGING_LIBDIR}/
+ ln -sf libportaudio.so.${PV} ${STAGING_LIBDIR}/libportaudio.so.0
+ ln -sf libportaudio.so.${PV} ${STAGING_LIBDIR}/libportaudio.so
+
+ install -d ${STAGING_DIR}/target/include/
+ install -m 0644 pa_common/portaudio.h ${STAGING_DIR}/target/include/portaudio.h
+}
+
+do_install() {
+ install -d ${D}${libdir}
+ install -d ${D}${includedir}
+ oe_runmake 'PREFIX=${D}${prefix}' install
+}
+
diff --git a/python/pyserial_2.0.oe b/python/pyserial_2.0.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/python/pyserial_2.0.oe
diff --git a/python/python-2.3.3/crosscompile.patch b/python/python-2.3.3/crosscompile.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/python/python-2.3.3/crosscompile.patch
diff --git a/python/python_2.3.3.oe b/python/python_2.3.3.oe
index e69de29bb2..fbfe34d33f 100644
--- a/python/python_2.3.3.oe
+++ b/python/python_2.3.3.oe
@@ -0,0 +1,46 @@
+DESCRIPTION="Python Programming Language"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc python-native
+
+SRC_URI = ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
+ file://${FILESDIR}/bindir-libdir.patch;patch=1 \
+ file://${FILESDIR}/crosscompile.patch;patch=1
+# file://${FILESDIR}/crosscompile-hotshot.patch;patch=1 \
+# file://${FILESDIR}/crosscompile-socket.patch;patch=1
+
+S = ${WORKDIR}/Python-${PV}
+
+inherit autotools
+
+EXTRA_OECONF = --with-threads --with-pymalloc --with-cyclic-gc
+
+#
+# yes, the following lines are correct. python distutils is executed on the host
+# and it will use the settings from build/include/python2.3/pyconfig.h
+#
+do_compile_prepend() {
+ install -m 0644 pyconfig.h ${STAGING_DIR}/build/include/python2.3/
+ install -m 0644 Makefile Makefile.orig
+ install -m 0644 Makefile Makefile.backup
+ sed -e 's,${includedir},${STAGING_DIR}/target/include,' < Makefile.backup > Makefile
+ install -m 0644 Makefile Makefile.backup
+ sed -e 's,${libdir},${STAGING_DIR}/target/lib,' < Makefile.backup > Makefile
+ install -m 0644 Makefile ${STAGING_DIR}/build/lib/python2.3/config/
+}
+
+do_compile() {
+ oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \
+ HOSTPYTHON=${STAGING_BINDIR}/python \
+ STAGING_DIR=${STAGING_DIR}
+}
+
+do_install() {
+ install -m 0644 Makefile.orig Makefile
+ oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \
+ HOSTPYTHON=${STAGING_BINDIR}/python \
+ STAGING_DIR=${STAGING_DIR} \
+ DESTDIR=${D} install
+}
diff --git a/python/sgmlop_1.1.oe b/python/sgmlop_1.1.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/python/sgmlop_1.1.oe
diff --git a/qte/qte_2.3.6.oe b/qte/qte_2.3.6.oe
index 5db3f4f0a6..1e08d970f0 100644
--- a/qte/qte_2.3.6.oe
+++ b/qte/qte_2.3.6.oe
@@ -61,6 +61,6 @@ do_stage () {
}
do_install () {
- install -d ${D}/usr/lib/qte2/lib
- install -m 0755 lib/libqte.so.* ${D}/usr/lib/qte2/lib/
+ install -d ${D}${libdir}/qte2/lib
+ install -m 0755 lib/libqte.so.* ${D}${libdir}/qte2/lib/
}
diff --git a/qte/qte_2.3.7.oe b/qte/qte_2.3.7.oe
index 5db3f4f0a6..1e08d970f0 100644
--- a/qte/qte_2.3.7.oe
+++ b/qte/qte_2.3.7.oe
@@ -61,6 +61,6 @@ do_stage () {
}
do_install () {
- install -d ${D}/usr/lib/qte2/lib
- install -m 0755 lib/libqte.so.* ${D}/usr/lib/qte2/lib/
+ install -d ${D}${libdir}/qte2/lib
+ install -m 0755 lib/libqte.so.* ${D}${libdir}/qte2/lib/
}
diff --git a/qte/qte_2.3.8-snap.oe b/qte/qte_2.3.8-snap.oe
index 83d36b40de..0cf89ee19d 100644
--- a/qte/qte_2.3.8-snap.oe
+++ b/qte/qte_2.3.8-snap.oe
@@ -62,6 +62,6 @@ do_stage () {
}
do_install () {
- install -d ${D}/usr/lib/qte2/lib
- install -m 0755 lib/libqte.so.* ${D}/usr/lib/qte2/lib/
+ install -d ${D}${libdir}/qte2/lib
+ install -m 0755 lib/libqte.so.* ${D}${libdir}/qte2/lib/
}
diff --git a/sysvinit/sysvinit_2.85.oe b/sysvinit/sysvinit_2.85.oe
index 08fd67e6c5..f05d593c72 100644
--- a/sysvinit/sysvinit_2.85.oe
+++ b/sysvinit/sysvinit_2.85.oe
@@ -21,18 +21,18 @@ do_install () {
${D}/sbin ${D}/${sysconfdir}/default \
${D}/${sysconfdir}/init.d
# install -m 755 debian/sysv-rc/sbin/invoke-rc.d \
-# debian/sysv-rc/sbin/update-rc.d ${D}/usr/sbin/
+# debian/sysv-rc/sbin/update-rc.d ${D}${sbindir}/
install -m 755 halt killall5 \
runlevel shutdown ${D}/sbin/
install -m 755 init ${D}/sbin/sysvinit
- install -m 755 mesg last ${D}/usr/bin/
+ install -m 755 mesg last ${D}${bindir}
install -m 0755 ${FILESDIR}/need ${D}/sbin/need.sysvinit
install -m 0755 ${FILESDIR}/provide ${D}/sbin/provide.sysvinit
ln -sf halt ${D}/sbin/reboot
ln -sf halt ${D}/sbin/poweroff
ln -sf init ${D}/sbin/telinit
ln -sf killall5 ${D}/sbin/pidof
- ln -sf last ${D}/usr/bin/lastb
+ ln -sf last ${D}${bindir}/lastb
# echo "/etc/inittab" > ${D}/CONTROL/conffiles
# echo "/etc/default/rcS" >> ${D}/CONTROL/conffiles
# install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/
diff --git a/tmake/tmake_1.11.oe b/tmake/tmake_1.11.oe
index e69de29bb2..eb095fcf77 100644
--- a/tmake/tmake_1.11.oe
+++ b/tmake/tmake_1.11.oe
@@ -0,0 +1,28 @@
+SRC_URI="ftp://ftp.trolltech.com/pub/freebies/tmake/tmake-${PV}.tar.gz"
+DESCRIPTION="tmake is an easy-to-use tool for creating and maintaining makefiles across many platforms and compilers."
+LICENSE="Unknown"
+DEPENDS=""
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Chris Larson <kergoth@handhelds.org>"
+
+S="${WORKDIR}/${P}"
+
+do_stage() {
+ install -m 0755 bin/tmake bin/progen ${STAGING_BINDIR}/
+
+ install -d ${STAGING_DIR}/share/tmake
+ cp -R lib/* ${STAGING_DIR}/share/tmake/
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 bin/tmake bin/progen ${D}${bindir}/
+
+ install -d ${D}${datadir}/tmake
+ cp -R lib/* ${D}${datadir}/tmake/
+}
+
+PACKAGES="tmake"
+FILES=""
+FILES_tmake="${bindir} ${datadir}/tmake"
diff --git a/uclibc/uclibc-initial_0.9.21.oe b/uclibc/uclibc-initial_0.9.21.oe
index 821b31fbcb..4f72ac74b5 100644
--- a/uclibc/uclibc-initial_0.9.21.oe
+++ b/uclibc/uclibc-initial_0.9.21.oe
@@ -12,7 +12,7 @@ do_stage() {
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
- rm -rf ${CROSS_DIR}/${TARGET_SYS}/usr
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix}
}
do_install() {
diff --git a/uclibc/uclibc_0.9.21.oe b/uclibc/uclibc_0.9.21.oe
index b021778837..d1088436f0 100644
--- a/uclibc/uclibc_0.9.21.oe
+++ b/uclibc/uclibc_0.9.21.oe
@@ -65,25 +65,25 @@ do_stage() {
done
# We don't really need these
- rmdir ${CROSS_DIR}/${TARGET_SYS}/usr/lib || :
- rmdir ${CROSS_DIR}/${TARGET_SYS}/usr || :
+ rmdir ${CROSS_DIR}/${TARGET_SYS}/${libdir} || :
+ rmdir ${CROSS_DIR}/${TARGET_SYS}/${prefix} || :
}
do_install() {
make DEVEL_PREFIX= SYSTEM_DEVEL_PREFIX= TARGET_PREFIX= \
- DEVEL_TOOL_PREFIX=/usr PREFIX=${D} \
+ DEVEL_TOOL_PREFIX=${prefix} PREFIX=${D} \
install_dev install_target install_target_utils
# binutils has a readelf, so forget about this one...
- rm -f ${D}/usr/bin/readelf
+ rm -f ${D}/${bindir}/readelf
- # move devel headers/libs/objects from / into /usr
- mv -f ${D}/lib/*.a ${D}/lib/*.o ${D}/usr/lib/
+ # move devel headers/libs/objects from / into ${prefix}
+ mv -f ${D}/lib/*.a ${D}/lib/*.o ${D}${libdir}/
rm -f ${D}/include/.cvsignore
- mv -f ${D}/include ${D}/usr/
+ mv -f ${D}/include ${D}${prefix}/
for lib in libc.so libcrypt.so libdl.so libm.so libnsl.so \
libpthread.so libresolv.so libthread_db.so libutil.so; do
- ln -s ../../lib/`readlink ${D}/lib/$lib` ${D}/usr/lib/$lib
+ ln -s ../../lib/`readlink ${D}/lib/$lib` ${D}${libdir}/$lib
rm -f ${D}/lib/$lib
done
diff --git a/udev/udev_003.oe b/udev/udev_003.oe
index bd94412908..d1983df2eb 100644
--- a/udev/udev_003.oe
+++ b/udev/udev_003.oe
@@ -6,9 +6,9 @@ SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-003.tar.gz \
file://${FILESDIR}/partsegfault.patch;patch=1 \
file://${FILESDIR}/compile.patch;patch=1
-prefix=
-datadir=/usr/share
-mandir=${datadir}/man
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
'exec_prefix=${prefix}' \
'etcdir=${sysconfdir}' \
diff --git a/udev/udev_006.oe b/udev/udev_006.oe
index e69de29bb2..bd9866ed13 100644
--- a/udev/udev_006.oe
+++ b/udev/udev_006.oe
@@ -0,0 +1,19 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz
+
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
diff --git a/udev/udev_007.oe b/udev/udev_007.oe
index e69de29bb2..6235e608ec 100644
--- a/udev/udev_007.oe
+++ b/udev/udev_007.oe
@@ -0,0 +1,21 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://${FILESDIR}/flags.patch;patch=1 \
+ file://${FILESDIR}/limits.patch;patch=1
+
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
diff --git a/udev/udev_008.oe b/udev/udev_008.oe
index e69de29bb2..7263532130 100644
--- a/udev/udev_008.oe
+++ b/udev/udev_008.oe
@@ -0,0 +1,21 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://${FILESDIR}/flags.patch;patch=1
+
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+export LD=${CC}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
diff --git a/udev/udev_009.oe b/udev/udev_009.oe
index e69de29bb2..2a16c8de66 100644
--- a/udev/udev_009.oe
+++ b/udev/udev_009.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://${FILESDIR}/emptyextras.patch;patch=1 \
+ file://${FILESDIR}/flags.patch;patch=1
+
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+export LD=${CC}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
diff --git a/udev/udev_012.oe b/udev/udev_012.oe
index e69de29bb2..7263532130 100644
--- a/udev/udev_012.oe
+++ b/udev/udev_012.oe
@@ -0,0 +1,21 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://${FILESDIR}/flags.patch;patch=1
+
+bindir=/bin
+sbindir=/sbin
+libdir=/lib
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+export LD=${CC}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}