Makefile 1.2 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.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. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  21. CONFIGURE_ARGS+= --disable-selinux \
  22. --disable-static
  23. post-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