Makefile 1.2 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.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 318a64470861ea5b92a52f2014f1e7c1
  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
  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