1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 3079d3fb86af99f4c2c2907b5725e5820fdb2144d3be6002ec367bfcebc5c480
10 PKG_DESCR
:= x window system initializer
11 PKG_SECTION
:= x11
/utils
12 PKG_DEPENDS
:= xorg-server mcookie xauth xset xterm libstdcxx
13 PKG_BUILDDEP
:= xorg-server
14 PKG_URL
:= http
://xorg.freedesktop.org
/
15 PKG_SITES
:= http
://xorg.freedesktop.org
/archive
/individual
/app
/
17 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,XINIT
,xinit
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
23 TARGET_CPPFLAGS
+= -D_POSIX_SOURCE
24 CONFIGURE_ARGS
:= --without-launchd
25 XAKE_FLAGS
+= RAWCPP
="$(TARGET_CROSS)cpp"
28 $(INSTALL_DIR
) $(IDIR_XINIT
)/usr
/bin
29 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/startx \
30 $(IDIR_XINIT
)/usr
/bin
/
31 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/xinit \
32 $(IDIR_XINIT
)/usr
/bin
/
33 $(INSTALL_DIR
) $(IDIR_XINIT
)/usr
/lib
/X11
/xinit
34 $(INSTALL_DATA
) $(WRKINST
)/usr
/lib
/X11
/xinit
/xinitrc \
35 $(IDIR_XINIT
)/usr
/lib
/X11
/xinit
/
37 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk