123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= e2fsprogs
- PKG_VERSION:= 1.41.9
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 52f60a9e19a02f142f5546f1b5681927
- PKG_DESCR:= Ext2/3/4 filesystem utilities
- PKG_SECTION:= admin
- PKG_URL:= http://e2fsprogs.sourceforge.net
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/}
- PKG_DESCR_1:= UUID library
- PKG_SECTION_1:= libs
- PKG_DESCR_2:= Common error library
- PKG_SECTION_2:= libs
- PKG_DESCR_3:= Libblkid
- PKG_SECTION_3:= libs
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,E2FSPROGS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,LIBUUID,libuuid,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION_1}))
- $(eval $(call PKG_template,LIBCOM_ERR,libcom-err,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION_2}))
- $(eval $(call PKG_template,LIBBLKID,libblkid,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_3},${PKG_SECTION_3}))
- CONFIGURE_STYLE= gnu
- CONFIGURE_ARGS+= --enable-elf-shlibs \
- --disable-tls \
- --enable-dynamic-e2fsck
- BUILD_STYLE= auto
- INSTALL_STYLE= auto
- INSTALL_TARGET+= install-libs
- pre-build:
- ${MAKE} -C ${WRKBUILD}/util \
- BUILDCC="${HOSTCC}" \
- CFLAGS="" \
- LDFLAGS="" \
- CPPFLAGS="" \
- subst
- post-install:
- ${INSTALL_DIR} ${IDIR_E2FSPROGS}/usr/lib ${IDIR_E2FSPROGS}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/e2fsck ${IDIR_E2FSPROGS}/usr/sbin/
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/mke2fs ${IDIR_E2FSPROGS}/usr/sbin/
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/tune2fs ${IDIR_E2FSPROGS}/usr/sbin/
- ${CP} ${WRKINST}/usr/lib/lib{e2p,ext2fs}.so.* \
- ${IDIR_E2FSPROGS}/usr/lib/
- # subpackage libblkid
- ${INSTALL_DIR} ${IDIR_LIBBLKID}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libblkid.so.* \
- ${IDIR_LIBBLKID}/usr/lib/
- # subpackage libcom_err
- ${INSTALL_DIR} ${IDIR_LIBCOM_ERR}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libcom_err.so.* \
- ${IDIR_LIBCOM_ERR}/usr/lib/
- # subpackage libuuid
- ${INSTALL_DIR} ${IDIR_LIBUUID}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libuuid.so.* \
- ${IDIR_LIBUUID}/usr/lib/
- # install some headers explicitely
- ${INSTALL_DIR} ${STAGING_DIR}/usr/include/uuid
- ${CP} ${WRKBUILD}/lib/uuid/uuid.h \
- ${STAGING_DIR}/usr/include/uuid
- include ${TOPDIR}/mk/pkg-bottom.mk
|