mirror of
https://github.com/openwrt/packages.git
synced 2025-08-13 04:43:00 +00:00
gcc15 is using iso9899:2024 by default. ccrypt fails to compile with it. --> use previous standard "-std=c17" instead. Ref.: https://github.com/openwrt/packages/issues/27112 Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2009-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ccrypt
|
|
PKG_VERSION:=1.11
|
|
PKG_RELEASE:=4
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/ccrypt
|
|
PKG_HASH:=b19c47500a96ee5fbd820f704c912f6efcc42b638c0a6aa7a4e3dc0a6b51a44f
|
|
PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ccrypt
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
SUBMENU:=Encryption
|
|
TITLE:=utility for encrypting/decrypting files and streams
|
|
URL:=http://ccrypt.sourceforge.net/
|
|
DEPENDS:= +USE_GLIBC:libcrypt-compat
|
|
endef
|
|
|
|
CONFIGURE_ARGS += --disable-emacs
|
|
|
|
EXTRA_CFLAGS += -std=c17
|
|
|
|
define Package/ccrypt/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/
|
|
ln -s ccrypt $(1)/usr/bin/ccencrypt
|
|
ln -s ccrypt $(1)/usr/bin/ccdecrypt
|
|
ln -s ccrypt $(1)/usr/bin/ccat
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ccrypt))
|