mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
e2fsprogs-libs: Initial commit
Needed by parted git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5440 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
22
meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch
vendored
Normal file
22
meta/packages/e2fsprogs-libs/e2fsprogs-libs-1.39/configure.patch
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
#
|
||||
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
||||
#
|
||||
|
||||
--- e2fsprogs-libs-1.33/./lib/uuid/configure.in~configure
|
||||
+++ e2fsprogs-libs-1.33/./lib/uuid/configure.in
|
||||
@@ -2,9 +2,11 @@
|
||||
dnl Not used now, for the future when uuid is separated out into its
|
||||
dnl own package.
|
||||
dnl
|
||||
-AC_INIT(gen_uuid.c)
|
||||
-AC_PREREQ(2.12)
|
||||
+AC_INIT
|
||||
+AC_CONFIG_SRCDIR([gen_uuid.c])
|
||||
+AC_PREREQ(2.57)
|
||||
|
||||
AC_CHECK_HEADERS(stdlib.h unistd.h sys/sockio.h net/if.h netinet/in.h)
|
||||
AC_CHECK_FUNCS(srandom)
|
||||
-AC_OUTPUT(Makefile)
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+AC_OUTPUT
|
||||
31
meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
Normal file
31
meta/packages/e2fsprogs-libs/e2fsprogs-libs.inc
Normal file
@@ -0,0 +1,31 @@
|
||||
DESCRIPTION = "EXT2 Filesystem Utilities"
|
||||
LICENSE = "GPL"
|
||||
SECTION = "base"
|
||||
PRIORITY = "optional"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
|
||||
file://configure.patch;patch=1 \
|
||||
file://compile-subst.patch;patch=1 \
|
||||
file://m4.patch;patch=1"
|
||||
|
||||
S = "${WORKDIR}/e2fsprogs-libs-${PV}"
|
||||
FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss"
|
||||
|
||||
do_stage () {
|
||||
for i in libcom_err libss libuuid libblkid; do
|
||||
oe_libinstall -a -C lib $i ${STAGING_LIBDIR}
|
||||
done
|
||||
install -d ${STAGING_INCDIR}/et \
|
||||
${STAGING_INCDIR}/ss \
|
||||
${STAGING_INCDIR}/uuid \
|
||||
${STAGING_INCDIR}/blkid
|
||||
install -m 0644 lib/et/com_err.h ${STAGING_INCDIR}/et/
|
||||
install -m 0644 lib/ss/ss.h ${STAGING_INCDIR}/ss/
|
||||
install -m 0644 lib/ss/ss_err.h ${STAGING_INCDIR}/ss/
|
||||
install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/
|
||||
install -m 0644 lib/uuid/uuid_types.h ${STAGING_INCDIR}/uuid/
|
||||
install -m 0644 lib/blkid/blkid.h ${STAGING_INCDIR}/blkid/
|
||||
install -m 0644 lib/blkid/blkid_types.h ${STAGING_INCDIR}/blkid/
|
||||
}
|
||||
13
meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb
Normal file
13
meta/packages/e2fsprogs-libs/e2fsprogs-libs_1.39.bb
Normal file
@@ -0,0 +1,13 @@
|
||||
require e2fsprogs-libs.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \
|
||||
file://configure.patch;patch=1"
|
||||
|
||||
EXTRA_OECONF=" --enable-elf-shlibs "
|
||||
|
||||
do_compile_prepend () {
|
||||
find ./ -print|xargs chmod u=rwX
|
||||
( cd util; ${BUILD_CC} subst.c -o subst )
|
||||
}
|
||||
Reference in New Issue
Block a user