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