1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_ARCH_DEPENDS:= !cris
  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. --disable-static
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libcryptsetup.so* \
  25. ${IDIR_CRYPTSETUP}/usr/lib
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
  27. ${IDIR_CRYPTSETUP}/usr/sbin
  28. include ${TOPDIR}/mk/pkg-bottom.mk