Add PKG_FIXUP:=libtool
[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_FIXUP:=libtool
19 PKG_BUILD_DEPENDS:=libXt libXext xextproto
20
21 PKG_FIXUP = libtool
22
23 include $(INCLUDE_DIR)/package.mk
24
25 PKG_INSTALL:=1
26
27 define Package/libXmu
28 SECTION:=xorg-lib
29 CATEGORY:=Xorg
30 SUBMENU:=lib
31 DEPENDS:=+libXt +libXext
32 TITLE:=libXmu
33 URL:=http://xorg.freedesktop.org/
34 endef
35
36 define Package/libXmuu
37 SECTION:=xorg-lib
38 CATEGORY:=Xorg
39 SUBMENU:=lib
40 DEPENDS:=+libX11
41 TITLE:=libXmuu
42 URL:=http://xorg.freedesktop.org/
43 endef
44
45 define Package/libXmu/install
46 $(INSTALL_DIR) $(1)/usr/lib
47 $(INSTALL_DATA) \
48 $(PKG_INSTALL_DIR)/usr/lib/libXmu.so* \
49 $(1)/usr/lib/
50 endef
51
52 define Package/libXmuu/install
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(INSTALL_DATA) \
55 $(PKG_INSTALL_DIR)/usr/lib/libXmuu.so* \
56 $(1)/usr/lib/
57 endef
58
59 define Build/InstallDev
60 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
61 endef
62
63 $(eval $(call BuildPackage,libXmu))
64 $(eval $(call BuildPackage,libXmuu))