1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
openwrt-packages/libs/libdrm/Makefile
Lucian Cristian 291dfc8f16 libdrm: update and put me as a maintainer
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-14 22:28:01 +03:00

71 lines
1.5 KiB
Makefile

# Copyright (C) 2007-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:=libdrm
PKG_VERSION:=2.4.97
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://dri.freedesktop.org/libdrm
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_HASH:=77d0ccda3e10d6593398edb70b1566bfe1a23a39bd3da98ace2147692eadd123
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
include $(INCLUDE_DIR)/package.mk
define Package/libdrm
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpciaccess
TITLE:=libdrm
URL:=https://dri.freedesktop.org/
endef
define Package/libdrm/description
LIBDRM is the cross-driver middleware which allows user-space applications
(such as Mesa and 2D drivers) to communicate with the Kernel by the means
of the DRI protocol.
endef
CONFIGURE_ARGS += \
--disable-udev \
--enable-kms \
--disable-omap-experimental-api \
--disable-exynos-experimental-api \
--disable-tegra-experimental-api \
--disable-cairo-tests \
--disable-manpages \
--disable-valgrind
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/{pkgconfig,*.so*} \
$(1)/usr/lib/
endef
define Package/libdrm/install
$(INSTALL_DIR) \
$(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,libdrm))