libgpg-error: Fix compiling with uclibc
[openadk.git] / package / xinit / Makefile
bloba6f74d1e807a5be28419f6820d7d02be9ea2895d
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
6 PKG_NAME:= xinit
7 PKG_VERSION:= 1.2.1
8 PKG_RELEASE:= 6
9 PKG_HASH:= 3079d3fb86af99f4c2c2907b5725e5820fdb2144d3be6002ec367bfcebc5c480
10 PKG_DESCR:= x window system initializer
11 PKG_SECTION:= x11/utils
12 PKG_DEPENDS:= xorg-server mcookie xauth xset
13 PKG_BUILDDEP:= xorg-server
14 PKG_NEEDS:= c++
15 PKG_URL:= http://xorg.freedesktop.org/
16 PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
18 PKG_CFLINE_XINIT:= select BUSYBOX_HEXDUMP
20 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
26 TARGET_CPPFLAGS+= -D_POSIX_SOURCE
27 CONFIGURE_ARGS:= --without-launchd
28 XAKE_FLAGS+= RAWCPP="$(TARGET_CROSS)cpp"
30 xinit-install:
31 $(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
32 $(INSTALL_BIN) $(WRKINST)/usr/bin/startx \
33 $(IDIR_XINIT)/usr/bin/
34 $(INSTALL_BIN) $(WRKINST)/usr/bin/xinit \
35 $(IDIR_XINIT)/usr/bin/
36 $(INSTALL_DIR) $(IDIR_XINIT)/usr/lib/X11/xinit
37 $(INSTALL_DATA) $(WRKINST)/usr/lib/X11/xinit/xinitrc \
38 $(IDIR_XINIT)/usr/lib/X11/xinit/
40 include $(ADK_TOPDIR)/mk/pkg-bottom.mk