Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= cryptsetup
  5. PKG_VERSION:= 1.3.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 1f5b5a9d538e8a3c191fb7dd85b9b013
  8. PKG_DESCR:= LUKS cryptsetup tools
  9. PKG_SECTION:= crypto
  10. PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt
  11. PKG_DEPENDS+= kmod-dm-crypt kmod-crypto-aes kmod-crypto-cbc
  12. PKG_DEPENDS+= kmod-crypto-sha256 kmod-blk-dev-dm libgcc
  13. PKG_BUILDDEP:= libgcrypt popt e2fsprogs lvm
  14. PKG_URL:= http://cryptsetup.googlecode.com/
  15. PKG_SITES:= http://cryptsetup.googlecode.com/files/
  16. PKG_OPTS:= dev
  17. PKG_ARCH_DEPENDS:= !cris
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  22. CONFIGURE_ARGS+= --disable-selinux
  23. cryptsetup-install:
  24. ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libcryptsetup.so* \
  26. ${IDIR_CRYPTSETUP}/usr/lib
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
  28. ${IDIR_CRYPTSETUP}/usr/sbin
  29. include ${TOPDIR}/mk/pkg-bottom.mk