Put libXmuu into its own package.
[openwrt/svn-archive/archive.git] / Xorg / lib / libXmu / Makefile
1 #
2 # Copyright (C) 2007-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 # blogic@openwrt.org
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_BASE_NAME:=libXmu
12 PKG_NAME:=libXmu
13 PKG_RELEASE:=3
14 PKG_VERSION:=1.0.4
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/lib/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
18 PKG_BUILD_DEPENDS:=libXt libXext xextproto
19
20 include $(INCLUDE_DIR)/package.mk
21
22 PKG_INSTALL:=1
23
24 define Package/libXmu
25 SECTION:=xorg-lib
26 CATEGORY:=Xorg
27 SUBMENU:=lib
28 DEPENDS:=+libXt +libXext
29 TITLE:=libXmu
30 URL:=http://xorg.freedesktop.org/
31 endef
32
33 define Package/libXmuu
34 SECTION:=xorg-lib
35 CATEGORY:=Xorg
36 SUBMENU:=lib
37 DEPENDS:=+libX11
38 TITLE:=libXmuu
39 URL:=http://xorg.freedesktop.org/
40 endef
41
42 define Package/libXmu/install
43 $(INSTALL_DIR) $(1)/usr/lib
44 $(INSTALL_DATA) \
45 $(PKG_INSTALL_DIR)/usr/lib/libXmu.so* \
46 $(1)/usr/lib/
47 endef
48
49 define Package/libXmuu/install
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(INSTALL_DATA) \
52 $(PKG_INSTALL_DIR)/usr/lib/libXmuu.so* \
53 $(1)/usr/lib/
54 endef
55
56 define Build/InstallDev
57 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
58 endef
59
60 $(eval $(call BuildPackage,libXmu))
61 $(eval $(call BuildPackage,libXmuu))