2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_BASE_NAME
:=@BASE_NAME@
15 PKG_SOURCE_URL
:=http
://xorg.freedesktop.org
/releases
/X11R7.4
/src
/app
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
19 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=@DISPLAY_SUPPORT
27 URL
:=http
://xorg.freedesktop.org
/
30 CONFIGURE_ARGS
+=LIBS
="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
33 DESTDIR
=$(PKG_INSTALL_DIR
) make
-C
$(PKG_BUILD_DIR
) install
36 define Package
/@NAME@
/install
38 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
42 define Build
/InstallDev
43 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
46 $(eval
$(call BuildPackage
,@NAME@
))