User Tools

Site Tools


buildroot:libxdmcp

libxdmcp

X11 Display Manager Control Protocol library

make dependencies xorg-util-macros
xorgproto
mkdir /data/buildroot/package/libxdmcp
cat > /data/buildroot/package/libxdmcp/Config.in<< 'EOF'
config BR2_PACKAGE_LIBXDMCP
        bool "libxdmcp"
        help
          X11 Display Manager Control Protocol library
EOF

cat > /data/buildroot/package/libxdmcp/libxdmcp.mk<< 'EOF'
#############################################################
#
# libxdmcp
#https://xorg.freedesktop.org/releases/individual/lib/libXdmcp-1.1.3.tar.gz
#############################################################
LIBXDMCP_VERSION = 1.1.3
LIBXDMCP_SOURCE  = libXdmcp-$(LIBXDMCP_VERSION).tar.gz
LIBXDMCP_SITE    = https://xorg.freedesktop.org/releases/individual/lib

define LIBXDMCP_BUILD_CMDS
  cd $(@D)/ && \
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static && \
  make
endef

define LIBXDMCP_INSTALL_TARGET_CMDS
  cd $(@D)/ && \
  make DESTDIR="${TARGET_DIR}" install
  install -m755 -d "${TARGET_DIR}/usr/share/licenses/libxdmcp"
  install -m644 $(@D)/COPYING "${TARGET_DIR}/usr/share/licenses/libxdmcp/"
endef

$(eval $(generic-package))
EOF

sed -i '/menu "Custom packages"/a source "package/libxdmcp/Config.in"' /data/buildroot/package/Config.in
buildroot/libxdmcp.txt · Last modified: 2025/02/19 10:59 by 127.0.0.1