Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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.1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8177f1833f4d6aaacc5812046d2010b6
  8. PKG_DESCR:= LUKS cryptsetup tools
  9. PKG_SECTION:= crypto
  10. PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt \
  11. kmod-dm-crypt kmod-crypto-aes kmod-crypto-cbc \
  12. kmod-crypto-sha256 kmod-blk-dev-dm
  13. PKG_BUILDDEP+= libgcrypt popt e2fsprogs lvm
  14. PKG_URL:= http://cryptsetup.googlecode.com
  15. PKG_SITES:= http://cryptsetup.googlecode.com/files/
  16. PKG_TARGET_DEPENDS:= !foxboard
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. CONFIGURE_ARGS+= --disable-selinux
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libcryptsetup.so* \
  24. ${IDIR_CRYPTSETUP}/usr/lib
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
  26. ${IDIR_CRYPTSETUP}/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk