1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= cryptsetup
  5. PKG_VERSION:= 1.6.6
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2d2ce28e4e1137dd599d87884b62ef6dbf14fd7848b2a2bf7d61cf125fbd8e6f
  8. PKG_DESCR:= utility used to conveniently setup disk encryption
  9. PKG_SECTION:= app/crypto
  10. PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt
  11. PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt
  12. PKG_BUILDDEP:= libgcrypt popt e2fsprogs lvm
  13. PKG_URL:= http://cryptsetup.googlecode.com/
  14. PKG_SITES:= https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/
  15. PKG_OPTS:= dev
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --disable-selinux
  19. cryptsetup-install:
  20. ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libcryptsetup.so* \
  22. ${IDIR_CRYPTSETUP}/usr/lib
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
  24. ${IDIR_CRYPTSETUP}/usr/sbin
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk