Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx 
     5         kx COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC32)
     5         kx COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
     5         kx COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_CB1X)
     5         kx COMPONENT_TARGETS += $(HARDWARE_CB2X)
     5         kx COMPONENT_TARGETS += $(HARDWARE_CB3X)
     5         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
     5         kx COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
     5         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
     5         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
   385         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
   385         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
   385         kx COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
   385         kx COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
     5         kx COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
   385         kx COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
     5         kx COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
     5         kx COMPONENT_TARGETS += $(HARDWARE_POIN2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
     5         kx COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
     5         kx COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
     5         kx COMPONENT_TARGETS += $(HARDWARE_M201)
     5         kx COMPONENT_TARGETS += $(HARDWARE_MXV)
     5         kx COMPONENT_TARGETS += $(HARDWARE_P201)
     5         kx COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
     5         kx COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_P212)
     5         kx COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
     5         kx COMPONENT_TARGETS += $(HARDWARE_Q201)
     5         kx COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
     5         kx COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
     5         kx COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
     5         kx COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
     5         kx COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
     5         kx COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
     5         kx COMPONENT_TARGETS += $(HARDWARE_CI20)
     5         kx COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
     5         kx COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
     5         kx COMPONENT_TARGETS += $(HARDWARE_S824L)
     5         kx COMPONENT_TARGETS += $(HARDWARE_VESNIN)
     5         kx COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
     5         kx COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
     5         kx COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
     5         kx COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
   385         kx COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
     5         kx COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
     5         kx 
     5         kx 
     5         kx NEED_ABS_PATH      = true
     5         kx COMPONENT_IS_3PP   = true
     5         kx 
     5         kx 
     5         kx include ../../../build-system/constants.mk
     5         kx 
     5         kx 
     5         kx SOURCE_REQUIRES    = sources/GNOME/core/libsecret
     5         kx 
     5         kx REQUIRES           = libs/glib2/2.76.0
   385         kx REQUIRES          += libs/gobject-introspection/1.76.1
   385         kx REQUIRES          += dev/vala/0.56.6
     5         kx REQUIRES          += net/libgcrypt/1.10.1
     5         kx 
     5         kx # ======= __END_OF_REQUIRES__ =======
     5         kx 
     5         kx 
     5         kx version            = 0.20.4
     5         kx tar_xz_archive     = $(SRC_PACKAGE_PATH)/GNOME/core/libsecret/libsecret-$(version).tar.xz
     5         kx SRC_ARCHIVE        = $(tar_xz_archive)
     5         kx SRC_DIR            = $(TARGET_BUILD_DIR)/libsecret-$(version)
     5         kx src_dir_name       = libsecret-$(version)
     5         kx src_done           = $(TARGET_BUILD_DIR)/.source_done
     5         kx 
     5         kx PATCHES = PATCHES
     5         kx 
     5         kx build_dir          = $(TARGET_BUILD_DIR)/build
     5         kx build_target       = $(TARGET_BUILD_DIR)/.build_done
     5         kx install_target     = $(TARGET_BUILD_DIR)/.install_done
     5         kx 
     5         kx build_docs_dir     = $(TARGET_BUILD_DIR)/build-docs
     5         kx 
     5         kx cross_file         = $(TARGET_BUILD_DIR)/$(TARGET)-cross
     5         kx 
     5         kx 
     5         kx ####### Targets
     5         kx 
     5         kx PKG_GROUP = libs
     5         kx 
     5         kx #
     5         kx # *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
     5         kx #
     5         kx SECRET_PKG_NAME                = libsecret
     5         kx SECRET_PKG_VERSION             = 0.20.4
     5         kx SECRET_PKG_ARCH                = $(PKGARCH)
     5         kx SECRET_PKG_DISTRO_NAME         = $(DISTRO_NAME)
     5         kx SECRET_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
     5         kx SECRET_PKG_GROUP               = $(PKG_GROUP)
     5         kx ###                             |---handy-ruler-------------------------------|
     5         kx SECRET_PKG_SHORT_DESCRIPTION   = library to access the Secret Service API
     5         kx SECRET_PKG_URL                 = $(BUG_URL)
     5         kx SECRET_PKG_LICENSE             = LGPLv2.1
     5         kx SECRET_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(SECRET_PKG_NAME)-pkg-description
     5         kx SECRET_PKG_DESCRIPTION_FILE_IN = $(SECRET_PKG_NAME)-pkg-description.in
     5         kx SECRET_PKG_INSTALL_SCRIPT      = $(SECRET_PKG_NAME)-pkg-install.sh
     5         kx 
     5         kx SECRET_PKG       = $(CURDIR)/$(TARGET_BUILD_DIR)/$(SECRET_PKG_NAME)-package
     5         kx 
     5         kx pkg_basename     = $(SECRET_PKG_NAME)-$(SECRET_PKG_VERSION)-$(SECRET_PKG_ARCH)-$(SECRET_PKG_DISTRO_NAME)-$(SECRET_PKG_DISTRO_VERSION)
     5         kx 
     5         kx pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
     5         kx pkg_certificate  = $(call cert-name,$(pkg_archive))
     5         kx pkg_signature    = $(call sign-name,$(pkg_archive))
     5         kx pkg_description  = $(call desc-name,$(pkg_archive))
     5         kx products         = $(call pkg-files,$(pkg_archive))
     5         kx 
     5         kx BUILD_TARGETS    = $(build_target)
     5         kx BUILD_TARGETS   += $(install_target)
     5         kx 
     5         kx PRODUCT_TARGETS  = $(products)
     5         kx 
     5         kx ROOTFS_TARGETS   = $(pkg_archive)
     5         kx 
     5         kx 
     5         kx include ../../../build-system/core.mk
     5         kx 
     5         kx 
     5         kx env_sysroot = DESTDIR=$(SECRET_PKG)
     5         kx 
     5         kx 
     5         kx ENABLE_GTK_DOCUMENTATION = yes
     5         kx 
     5         kx #
     5         kx # https://mesonbuild.com/Reference-tables.html :
     5         kx # =============================================
     5         kx #
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)    \
     5         kx                              $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC) \
     5         kx                              $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)   \
     5         kx                              $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
     5         kx cpu_name = arm
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     $(TOOLCHAIN_RK33XX_GLIBC) \
   385         kx                              $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
   385         kx                              $(TOOLCHAIN_S9XX_GLIBC)   \
     5         kx                              $(TOOLCHAIN_A311X_GLIBC)  $(TOOLCHAIN_M1000_GLIBC)),)
     5         kx cpu_name = aarch64
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
     5         kx cpu_name = mips
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
     5         kx cpu_name = ppc64
     5         kx endian   = big
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
     5         kx cpu_name = ppc64
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
     5         kx cpu_name = riscv64
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
     5         kx cpu_name = x86
     5         kx endian   = little
     5         kx endif
     5         kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
     5         kx cpu_name = x86_64
     5         kx endian   = little
     5         kx endif
     5         kx 
     5         kx 
     5         kx ifeq ($(__ENABLE_STATIC__),yes)
     5         kx extra_configure_switches += --default-library=both
     5         kx else
     5         kx extra_configure_switches += --default-library=shared
     5         kx endif
     5         kx 
     5         kx 
   385         kx PYTHON3_VERSION = 3.10
   385         kx 
   385         kx python_environment  = PYTHON=$(PYTHON3)
   385         kx python_environment += PYTHONPATH='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gobject-introspection:$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/python$(PYTHON3_VERSION)/lib-dynload'
   385         kx 
   385         kx 
     5         kx CFLAGS  += -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/glib-2.0/include
     5         kx CFLAGS  += -Wno-deprecated-declarations -Wno-incompatible-pointer-types
     5         kx 
     5         kx LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
     5         kx 
     5         kx 
     5         kx ####### Dependencies
     5         kx 
     5         kx $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
     5         kx 	$(UNPACK_SRC_ARCHIVE)
     5         kx 	$(APPLY_PATCHES)
     5         kx 	@touch $@
     5         kx 
     5         kx $(build_target): $(src_done)
     5         kx 	@mkdir -p $(build_dir)
     5         kx 	@echo ""                                            >  $(cross_file)
     5         kx 	@echo "[build_machine]"                             >> $(cross_file)
     5         kx 	@echo "system = '$(shell uname -s | tr 'L' 'l')'"   >> $(cross_file)
     5         kx 	@echo "cpu_family = '$(shell uname -m)'"            >> $(cross_file)
     5         kx 	@echo "cpu = '$(shell uname -m)'"                   >> $(cross_file)
     5         kx 	@echo "endian = '$(shell lscpu | grep Endian | tr -s ' ' | cut -f3 -d' ' | tr 'L' 'l')'" >> $(cross_file)
     5         kx 	@echo ""                                            >> $(cross_file)
     5         kx 	@echo "[host_machine]"                              >> $(cross_file)
     5         kx 	@echo "system = 'linux'"                            >> $(cross_file)
     5         kx 	@echo "cpu_family = '$(cpu_name)'"                  >> $(cross_file)
     5         kx 	@echo "cpu = '$(cpu_name)'"                         >> $(cross_file)
     5         kx 	@echo "endian = '$(endian)'"                        >> $(cross_file)
     5         kx 	@echo ""                                            >> $(cross_file)
     5         kx 	@echo "[target_machine]"                            >> $(cross_file)
     5         kx 	@echo "system = 'linux'"                            >> $(cross_file)
     5         kx 	@echo "cpu_family = '$(cpu_name)'"                  >> $(cross_file)
     5         kx 	@echo "cpu = '$(cpu_name)'"                         >> $(cross_file)
     5         kx 	@echo "endian = '$(endian)'"                        >> $(cross_file)
     5         kx 	@echo ""                                            >> $(cross_file)
     5         kx 	@echo "[properties]"                                >> $(cross_file)
     5         kx 	@echo "sys_root = '$(TARGET_DEST_DIR)'"             >> $(cross_file)
     5         kx 	@echo ""                                            >> $(cross_file)
     5         kx 	@echo "[binaries]"                                  >> $(cross_file)
     5         kx 	@echo "c = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc'"   >> $(cross_file)
     5         kx 	@echo "cpp = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++'" >> $(cross_file)
     5         kx 	@echo "ar = '$(AR)'"                                >> $(cross_file)
     5         kx 	@echo "strip = '$(STRIP)'"                          >> $(cross_file)
     5         kx 	@echo "pkgconfig = 'pkg-config'"                    >> $(cross_file)
     5         kx 	@echo ""                                            >> $(cross_file)
     5         kx 	@PKG_CONFIG_PATH= \
   385         kx 	   $(python_environment) \
     5         kx 	   meson setup \
     5         kx 	    --prefix=/usr \
     5         kx 	    --libdir=lib$(LIBSUFFIX) \
     5         kx 	    --libexecdir=/usr/libexec \
     5         kx 	    --bindir=/usr/bin \
     5         kx 	    --sbindir=/usr/sbin \
     5         kx 	    --includedir=/usr/include \
     5         kx 	    --datadir=/usr/share \
     5         kx 	    --mandir=/usr/share/man \
     5         kx 	    --sysconfdir=/etc \
     5         kx 	    --localstatedir=/var \
     5         kx 	    --buildtype=release    \
     5         kx 	    -Dc_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`"         \
     5         kx 	    -Dc_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`"   \
     5         kx 	    -Dcpp_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`"       \
     5         kx 	    -Dcpp_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
     5         kx 	    -Dmanpage=true              \
     5         kx 	    -Dgcrypt=true               \
     5         kx 	    -Ddebugging=false           \
   385         kx 	    -Dvapi=true                 \
     5         kx 	    -Dgtk_doc=false             \
   385         kx 	    -Dintrospection=true        \
     5         kx 	    $(extra_configure_switches) \
     5         kx 	    --cross-file=$(cross_file) $(SRC_DIR) $(build_dir)
   385         kx 	@( cd $(build_dir) ; \
   385         kx 	   sed -i '/COMMAND = /s, /usr/bin/g-ir-scanner , $(python_environment) $(TARGET_DEST_DIR)/usr/bin/g-ir-scanner-wrapper ,g' build.ninja ; \
   385         kx 	 )
   385         kx 	@( cd $(build_dir) ; env -i ninja -v )
     5         kx 	@touch $@
     5         kx 
     5         kx $(install_target): $(build_target)
     5         kx 	@mkdir -p $(SECRET_PKG)
     5         kx 	@cd $(build_dir) && $(env_sysroot) ninja install
     5         kx ifeq ($(ENABLE_GTK_DOCUMENTATION),yes)
     5         kx 	# ======= Build Documentation =======
     5         kx 	@mkdir -p $(build_docs_dir)
     5         kx 	@( cd $(build_docs_dir) ; \
     5         kx 	   PKG_CONFIG_PATH= \
     5         kx 	     meson setup --prefix=/usr --datadir=/usr/share \
     5         kx 	                 -Dgtk_doc=true ../$(src_dir_name) . 2>/dev/null 1>/dev/null ; \
     5         kx 	   ninja libsecret-1-doc 2>/dev/null 1>/dev/null ; \
     5         kx 	 )
     5         kx endif
     5         kx 	# ======= Install Documentation =======
     5         kx 	@if [ -d $(SECRET_PKG)/usr/share/man ]; then \
     5         kx 	  ( cd $(SECRET_PKG)/usr/share/man ; \
     5         kx 	    for manpagedir in `find . -type d -name "man*"` ; do \
     5         kx 	      ( cd $$manpagedir ; \
     5         kx 	        for eachpage in `find . -type l -maxdepth 1` ; do \
     5         kx 	          ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
     5         kx 	          rm $$eachpage ; \
     5         kx 	        done ; \
     5         kx 	        gzip -9 *.?  ; \
     5         kx 	      ) \
     5         kx 	    done \
     5         kx 	  ) \
     5         kx 	 fi
     5         kx 	@mkdir -p $(SECRET_PKG)/usr/doc/$(src_dir_name)
     5         kx 	@cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
     5         kx 	       $(SECRET_PKG)/usr/doc/$(src_dir_name)
     5         kx 	@mkdir -p $(SECRET_PKG)/usr/share/doc/$(src_dir_name)
     5         kx 	@( cd $(SRC_DIR) ; \
     5         kx 	   cp -a AUTHORS COPYING NEWS README.md \
     5         kx 	         $(SECRET_PKG)/usr/share/doc/$(src_dir_name) \
     5         kx 	 )
     5         kx ifeq ($(ENABLE_GTK_DOCUMENTATION),yes)
     5         kx 	# ======= Install Gtk Documentation =======
     5         kx 	@mkdir -p $(SECRET_PKG)/usr/share/doc/$(src_dir_name)
     5         kx 	@mkdir -p $(SECRET_PKG)/usr/share/gtk-doc/html/libsecret
     5         kx 	@( cd $(build_docs_dir)/docs/reference/libsecret/html ; \
     5         kx 	   cp -a *.html *.css *.png \
     5         kx 	         $(SECRET_PKG)/usr/share/gtk-doc/html/libsecret ; \
     5         kx 	 )
     5         kx 	@ln -sf ../../gtk-doc/html/libsecret $(SECRET_PKG)/usr/share/doc/$(src_dir_name)/html
     5         kx endif
     5         kx 	# ======= Install ChangeLog file =======
     5         kx 	@( cd $(SRC_DIR) ; \
     5         kx 	   if [ -r ChangeLog ]; then \
     5         kx 	     DOCSDIR=`echo $(SECRET_PKG)/usr/share/doc/$(src_dir_name)` ; \
     5         kx 	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
     5         kx 	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
     5         kx 	   fi \
     5         kx 	 )
     5         kx 	# ======= Install the same to $(TARGET_DEST_DIR) =======
     5         kx 	$(call install-into-devenv, $(SECRET_PKG))
     5         kx 	# ======= Tune pkg-config *.pc search path to the target destination for development =======
     5         kx 	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
     5         kx 	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsecret-1.pc libsecret-unstable.pc ; \
     5         kx 	 )
     5         kx 	@( cd $(SECRET_PKG) ; \
     5         kx 	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
     5         kx 	   find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
     5         kx 	 )
     5         kx ifeq ($(__ENABLE_STATIC__),yes)
     5         kx 	@( cd $(SECRET_PKG) ; \
     5         kx 	   find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
     5         kx 	 )
     5         kx endif
     5         kx 	@touch $@
     5         kx 
     5         kx $(SECRET_PKG_DESCRIPTION_FILE): $(SECRET_PKG_DESCRIPTION_FILE_IN)
     5         kx 	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
     5         kx 
     5         kx $(pkg_certificate) : $(pkg_archive) ;
     5         kx $(pkg_signature)   : $(pkg_archive) ;
     5         kx $(pkg_description) : $(pkg_archive) ;
     5         kx 
     5         kx $(pkg_archive): $(install_target) $(SECRET_PKG_DESCRIPTION_FILE) $(SECRET_PKG_INSTALL_SCRIPT)
     5         kx 	@cp $(SECRET_PKG_DESCRIPTION_FILE) $(SECRET_PKG)/.DESCRIPTION
     5         kx 	@cp $(SECRET_PKG_INSTALL_SCRIPT) $(SECRET_PKG)/.INSTALL
     5         kx 	@chmod a+x $(SECRET_PKG)/.INSTALL
     5         kx 	@$(BUILD_PKG_REQUIRES) $(SECRET_PKG)/.REQUIRES
     5         kx 	@echo "pkgname=$(SECRET_PKG_NAME)"                            >  $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "pkgver=$(SECRET_PKG_VERSION)"                          >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "arch=$(SECRET_PKG_ARCH)"                               >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "distroname=$(SECRET_PKG_DISTRO_NAME)"                  >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "distrover=$(SECRET_PKG_DISTRO_VERSION)"                >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "group=$(SECRET_PKG_GROUP)"                             >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "short_description=\"$(SECRET_PKG_SHORT_DESCRIPTION)\"" >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "url=$(SECRET_PKG_URL)"                                 >> $(SECRET_PKG)/.PKGINFO ; \
     5         kx 	 echo "license=$(SECRET_PKG_LICENSE)"                         >> $(SECRET_PKG)/.PKGINFO
     5         kx 	@$(PSEUDO) sh -c "cd $(SECRET_PKG) && \
     5         kx 	                  chown -R root:root . && \
     5         kx 	                  $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."