Created
August 6, 2020 13:51
-
-
Save lucize/b9fac169c6a6ec19c052ae8eb328a197 to your computer and use it in GitHub Desktop.
xorgproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2019 Lucian Cristian <lucian.cristian@gmail.com> | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=xorgproto | |
PKG_VERSION:=2020.1 | |
PKG_RELEASE:=1 | |
PKG_SOURCE_URL:=https://xorg.freedesktop.org/archive/individual/proto/ | |
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 | |
PKG_HASH:=54a153f139035a376c075845dd058049177212da94d7a9707cf9468367b699d2 | |
PKG_BUILD_DEPENDS:=util-macros | |
PKG_BUILD_PARALLEL:=1 | |
HOST_BUILD_DEPENDS:=util-macros/host | |
HOST_BUILD_PARALLEL:=1 | |
PKG_BUILD_DEPENDS:=meson/host | |
PKG_FIXUP:=autoreconf | |
PKG_INSTALL:=1 | |
include $(INCLUDE_DIR)/host-build.mk | |
include $(INCLUDE_DIR)/package.mk | |
include ../../devel/meson/meson.mk | |
define Package/xorgproto | |
SECTION:=libs | |
CATEGORY:=Libraries | |
DEPENDS:= | |
TITLE:=Combined X.Org X11 protocol headers | |
URL:=http://xorg.freedesktop.org/ | |
endef | |
CONFIGURE_ARGS += \ | |
--prefix=/usr \ | |
--without-fop \ | |
--without-xmlto \ | |
--without-xsltproc \ | |
--disable-specs | |
define Build/InstallDev | |
$(INSTALL_DIR) \ | |
$(1)/usr/include \ | |
$(1)/usr/lib | |
$(CP) \ | |
$(PKG_INSTALL_DIR)/usr/include/{GL,X11} \ | |
$(1)/usr/include/ | |
$(CP) \ | |
$(PKG_INSTALL_DIR)/usr/share/pkgconfig \ | |
$(1)/usr/lib/ | |
endef | |
define Package/xorgproto/install | |
endef | |
$(eval $(call BuildPackage,xorgproto)) | |
$(eval $(call HostBuild)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment