Cleanup xbitmaps.
[openwrt/svn-archive/archive.git] / Xorg / xorg / data / xbitmaps / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xbitmaps
11 PKG_RELEASE:=2
12 PKG_VERSION:=1.0.1
13
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/data/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_MD5SUM:=b28a9840cde3c38d7c09716372fea257
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/xbitmaps
23 SECTION:=xorg-data
24 CATEGORY:=Xorg
25 SUBMENU:=data
26 TITLE:=xbitmaps
27 URL:=http://xorg.freedesktop.org/
28 endef
29
30 define Build/InstallDev
31 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/X11/bitmaps}
32 $(INSTALL_DATA) \
33 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
34 $(1)/usr/lib/pkgconfig/
35 $(INSTALL_DATA) \
36 $(PKG_INSTALL_DIR)/usr/include/X11/bitmaps/* \
37 $(1)/usr/include/X11/bitmaps/
38 endef
39
40 define Package/xbitmaps/install/Default
41 $(INSTALL_DIR) $(1)/usr/include/X11/bitmaps
42 $(INSTALL_DATA) \
43 $(PKG_INSTALL_DIR)/usr/include/X11/bitmaps/* \
44 $(1)/usr/include/X11/bitmaps
45 endef
46
47 $(eval $(call BuildPackage,xbitmaps))