2007-09-25 20:23:15 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id: Makefile 8299 2007-08-01 12:32:53Z nico $
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=font-util
|
|
|
|
PKG_VERSION:=X11R7.1-1.0.1
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/font
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/font-util
|
|
|
|
SECTION:=xorg-font
|
|
|
|
CATEGORY:=Xorg
|
2007-10-04 19:01:31 +00:00
|
|
|
SUBMENU:=font-utils
|
2007-09-25 20:23:15 +00:00
|
|
|
TITLE:=misc tool to generate x fonts
|
2007-10-25 21:21:50 +00:00
|
|
|
DEPENDS:=+xorg-server @DISPLAY_SUPPORT
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
cd $(PKG_BUILD_DIR)/; ./configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR="$(PKG_INSTALL_DIR)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2007-12-22 17:58:08 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(1)/usr/lib/X11 $(STAGING_DIR_HOST)/usr/bin
|
2007-12-22 16:56:30 +00:00
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/local/lib/pkgconfig/fontutil.pc $(1)/usr/lib/pkgconfig
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/X11/* $(1)/usr/lib/X11/
|
2007-12-22 17:58:08 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/* $(STAGING_DIR_HOST)/usr/bin/
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,font-util))
|