2008-11-23 15:38:19 +00:00
|
|
|
#
|
2010-03-28 06:27:01 +00:00
|
|
|
# Copyright (C) 2007-2010 OpenWrt.org
|
2008-01-25 11:23:41 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2008-11-23 15:38:19 +00:00
|
|
|
|
2008-01-25 11:23:41 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_NAME:=libXmu
|
2009-10-31 00:12:52 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_VERSION:=1.0.5
|
2008-12-16 16:32:06 +00:00
|
|
|
|
2009-10-31 00:12:52 +00:00
|
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/lib/
|
2008-01-25 11:23:41 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2009-10-31 00:12:52 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
|
2010-02-19 01:20:44 +00:00
|
|
|
PKG_MD5SUM:=fc4d66be7a1a1eb474954728415e46d6
|
2009-10-31 00:12:52 +00:00
|
|
|
|
2008-12-02 20:55:04 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2008-12-16 16:32:06 +00:00
|
|
|
PKG_INSTALL:=1
|
2008-11-23 15:38:19 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libXt libXext xextproto
|
2008-01-25 11:23:41 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2008-11-23 15:38:19 +00:00
|
|
|
|
2008-11-16 19:31:42 +00:00
|
|
|
define Package/libXmu
|
2010-03-28 06:27:01 +00:00
|
|
|
SECTION:=xorg-libraries
|
2008-01-25 11:23:41 +00:00
|
|
|
CATEGORY:=Xorg
|
2009-01-09 17:10:38 +00:00
|
|
|
SUBMENU:=libraries
|
2008-11-23 15:38:19 +00:00
|
|
|
DEPENDS:=+libXt +libXext
|
2008-11-16 19:31:42 +00:00
|
|
|
TITLE:=libXmu
|
2008-01-25 11:23:41 +00:00
|
|
|
URL:=http://xorg.freedesktop.org/
|
|
|
|
endef
|
|
|
|
|
2008-11-23 15:38:19 +00:00
|
|
|
define Package/libXmuu
|
2010-03-28 06:27:01 +00:00
|
|
|
SECTION:=xorg-libraries
|
2008-11-23 15:38:19 +00:00
|
|
|
CATEGORY:=Xorg
|
2009-01-09 17:10:38 +00:00
|
|
|
SUBMENU:=libraries
|
2008-11-23 15:38:19 +00:00
|
|
|
DEPENDS:=+libX11
|
|
|
|
TITLE:=libXmuu
|
|
|
|
URL:=http://xorg.freedesktop.org/
|
2008-01-25 11:23:41 +00:00
|
|
|
endef
|
|
|
|
|
2008-12-16 16:32:06 +00:00
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/X11/Xmu}
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) \
|
2008-12-16 16:32:06 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
|
|
|
$(1)/usr/lib/pkgconfig/
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/include/X11/Xmu/* \
|
|
|
|
$(1)/usr/include/X11/Xmu/
|
|
|
|
endef
|
|
|
|
|
2008-11-16 19:31:42 +00:00
|
|
|
define Package/libXmu/install
|
2008-01-25 11:23:41 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) \
|
2008-11-23 15:38:19 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libXmu.so* \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libXmuu/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) \
|
2008-11-23 15:38:19 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libXmuu.so* \
|
|
|
|
$(1)/usr/lib/
|
2008-01-25 11:23:41 +00:00
|
|
|
endef
|
|
|
|
|
2008-11-16 19:31:42 +00:00
|
|
|
$(eval $(call BuildPackage,libXmu))
|
2008-11-23 15:38:19 +00:00
|
|
|
$(eval $(call BuildPackage,libXmuu))
|