summaryrefslogtreecommitdiff
path: root/package/xinit/Makefile
blob: 8c5b5da5c46ace254ae693d42c5381a6c4a82e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		xinit
PKG_VERSION:=		1.2.1
PKG_RELEASE:=		2
PKG_MD5SUM:=		7ad82221ebd6600a8d33712ec3b62efb
PKG_DESCR:=		X Window System initializer
PKG_SECTION:=		x11/apps
PKG_DEPENDS:=		xorg-server mcookie xauth xset
PKG_BUILDDEP:=		xorg-server
PKG_URL:=		http://xorg.freedesktop.org/
PKG_SITES:=		http://xorg.freedesktop.org/archive/individual/app/

PKG_TARGET_DEPENDS:=	!foxboard

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XINIT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

post-install:
	$(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/{xinit,startx} \
		$(IDIR_XINIT)/usr/bin/
	${INSTALL_DIR} ${IDIR_XINIT}/usr/lib/X11/xinit
	${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
		${IDIR_XINIT}/usr/lib/X11/xinit/

include ${TOPDIR}/mk/pkg-bottom.mk