summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bzip2/bzip2_1.0.2.oe30
-rw-r--r--e2fsprogs-libs/e2fsprogs-libs_1.33.oe30
-rw-r--r--e2fsprogs-libs/e2fsprogs-libs_1.34.oe34
3 files changed, 94 insertions, 0 deletions
diff --git a/bzip2/bzip2_1.0.2.oe b/bzip2/bzip2_1.0.2.oe
index e69de29bb2..be412153f6 100644
--- a/bzip2/bzip2_1.0.2.oe
+++ b/bzip2/bzip2_1.0.2.oe
@@ -0,0 +1,30 @@
+SRC_URI = ftp://sources.redhat.com/pub/bzip2/v102/bzip2-${PV}.tar.gz \
+ file://${FILESDIR}/installpaths.patch;patch=1
+
+CFLAGS_append = ' -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64'
+
+do_compile () {
+ oe_runmake -f Makefile-libbz2_so
+ ln -sf libbz2.so.1.0.2 libbz2.so.1.0
+ ln -sf libbz2.so.1.0.2 libbz2.so.1
+ ln -sf libbz2.so.1.0.2 libbz2.so
+ oe_runmake libbz2.a bzip2 bzip2recover
+}
+
+do_stage () {
+ install -m 0644 libbz2.a ${STAGING_LIBDIR}/
+ install -m 0644 bzlib.h ${STAGING_DIR}/target/include/
+ install -m 0755 libbz2.so.1.0.2 ${STAGING_LIBDIR}/
+ ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so.1.0
+ ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so.1
+ ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so
+}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}/${libdir}
+ install -m 0755 libbz2.so.1.0.2 ${D}/${libdir}/
+ ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so.1.0
+ ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so.1
+ ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so
+}
diff --git a/e2fsprogs-libs/e2fsprogs-libs_1.33.oe b/e2fsprogs-libs/e2fsprogs-libs_1.33.oe
index e69de29bb2..f3d259096a 100644
--- a/e2fsprogs-libs/e2fsprogs-libs_1.33.oe
+++ b/e2fsprogs-libs/e2fsprogs-libs_1.33.oe
@@ -0,0 +1,30 @@
+DESCRIPTION="EXT2 Filesystem Utilities"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI=${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/compile-subst.patch;patch=1
+
+inherit autotools
+
+do_stage () {
+ install -m 0644 lib/libcom_err.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libss.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libuuid.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libblkid.a ${STAGING_LIBDIR}/
+ install -d ${STAGING_DIR}/target/include/et \
+ ${STAGING_DIR}/target/include/ss \
+ ${STAGING_DIR}/target/include/uuid \
+ ${STAGING_DIR}/target/include/blkid
+ install -m 0644 lib/et/com_err.h ${STAGING_DIR}/target/include/et/
+ install -m 0644 lib/ss/ss.h ${STAGING_DIR}/target/include/ss/
+ install -m 0644 lib/ss/ss_err.h ${STAGING_DIR}/target/include/ss/
+ install -m 0644 lib/uuid/uuid.h ${STAGING_DIR}/target/include/uuid/
+ install -m 0644 lib/uuid/uuid_types.h ${STAGING_DIR}/target/include/uuid/
+ install -m 0644 lib/blkid/blkid.h ${STAGING_DIR}/target/include/blkid/
+ install -m 0644 lib/blkid/blkid_types.h ${STAGING_DIR}/target/include/blkid/
+}
diff --git a/e2fsprogs-libs/e2fsprogs-libs_1.34.oe b/e2fsprogs-libs/e2fsprogs-libs_1.34.oe
index e69de29bb2..3ff5916bb4 100644
--- a/e2fsprogs-libs/e2fsprogs-libs_1.34.oe
+++ b/e2fsprogs-libs/e2fsprogs-libs_1.34.oe
@@ -0,0 +1,34 @@
+DESCRIPTION="EXT2 Filesystem Utilities"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI=${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/compile-subst.patch;patch=1
+
+inherit autotools
+
+do_compile_prepend () {
+ find ./ -print|xargs chmod u=rwX
+}
+
+do_stage () {
+ install -m 0644 lib/libcom_err.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libss.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libuuid.a ${STAGING_LIBDIR}/
+ install -m 0644 lib/libblkid.a ${STAGING_LIBDIR}/
+ install -d ${STAGING_DIR}/target/include/et \
+ ${STAGING_DIR}/target/include/ss \
+ ${STAGING_DIR}/target/include/uuid \
+ ${STAGING_DIR}/target/include/blkid
+ install -m 0644 lib/et/com_err.h ${STAGING_DIR}/target/include/et/
+ install -m 0644 lib/ss/ss.h ${STAGING_DIR}/target/include/ss/
+ install -m 0644 lib/ss/ss_err.h ${STAGING_DIR}/target/include/ss/
+ install -m 0644 lib/uuid/uuid.h ${STAGING_DIR}/target/include/uuid/
+ install -m 0644 lib/uuid/uuid_types.h ${STAGING_DIR}/target/include/uuid/
+ install -m 0644 lib/blkid/blkid.h ${STAGING_DIR}/target/include/blkid/
+ install -m 0644 lib/blkid/blkid_types.h ${STAGING_DIR}/target/include/blkid/
+}