source: packages/Xorg/xorg/lib/libXxf86vm/Makefile @ 18234

Last change on this file since 18234 was 18234, checked in by lars, 7 years ago

[packages] Update xorg lib packages to Xorg 7.5

File size: 1.4 KB
Line 
1#
2# Copyright (C) 2007-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# blogic@openwrt.org
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=libXxf86vm
12PKG_RELEASE:=1
13PKG_VERSION:=1.1.0
14
15PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/lib/
16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
18PKG_MD5SUM:=b431ad7084e1055fef99a9115237edd8
19
20PKG_FIXUP:=libtool
21PKG_INSTALL:=1
22PKG_BUILD_DEPENDS:=xproto xextproto xf86vidmodeproto
23
24include $(INCLUDE_DIR)/package.mk
25
26define Build/Configure
27        $(call Build/Configure/Default, \
28                --enable-malloc0returnsnull \
29        )
30endef
31
32define Package/libXxf86vm
33  SECTION:=xorg-lib
34  CATEGORY:=Xorg
35  SUBMENU:=libraries
36  DEPENDS:=+libX11 +libXext
37  TITLE:=libXxf86vm
38  URL:=http://xorg.freedesktop.org/
39endef
40
41define Build/InstallDev
42        $(INSTALL_DIR) $(1)/usr/include/X11/extensions
43        $(INSTALL_DATA) \
44            $(PKG_INSTALL_DIR)/usr/include/X11/extensions/* \
45            $(1)/usr/include/X11/extensions/
46
47        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
48        $(CP) \
49                $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
50                $(1)/usr/lib/
51        $(INSTALL_DATA) \
52                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
53                $(1)/usr/lib/pkgconfig/
54endef
55
56define Package/libXxf86vm/install
57        $(INSTALL_DIR) $(1)/usr/lib
58        $(CP) \
59                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
60                $(1)/usr/lib/
61endef
62
63$(eval $(call BuildPackage,libXxf86vm))
Note: See TracBrowser for help on using the repository browser.