summaryrefslogtreecommitdiff
path: root/package/xrandr/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-07 07:25:50 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-07 07:25:50 +0200
commit3638a72e2730da8fb142f4be125c1b5d5af9fd8b (patch)
tree27da146033bf218e13e5e92431873f0df3da1e37 /package/xrandr/Makefile
parent4c69bb9001660ffd3be9265f71f874d6ac86e44f (diff)
xrandr: add new package
Diffstat (limited to 'package/xrandr/Makefile')
-rw-r--r--package/xrandr/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/xrandr/Makefile b/package/xrandr/Makefile
new file mode 100644
index 000000000..3702aa8af
--- /dev/null
+++ b/package/xrandr/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= xrandr
+PKG_VERSION:= 1.5.0
+PKG_RELEASE:= 1
+PKG_HASH:= ddfe8e7866149c24ccce8e6aaa0623218ae19130c2859cadcaa4228d8bb4a46d
+PKG_DESCR:= xrandr utility
+PKG_SECTION:= x11/utils
+PKG_DEPENDS:= libx11 libxi libxinerama libxrandr
+PKG_BUILDDEP:= libX11 libXi libXinerama libXrandr xproto xextproto
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= http://www.x.org/releases/individual/app/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XRANDR,xrandr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+xrandr-install:
+ $(INSTALL_DIR) $(IDIR_XRANDR)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xrandr \
+ $(IDIR_XRANDR)/usr/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk