nuke $Id$ in /packages as well
[packages.git] / Xorg / xorg / app / font-util / Makefile
1 #
2 # Copyright (C) 2006-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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=font-util
11 PKG_VERSION:=1.0.1
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/font
16 PKG_MD5SUM:=b81535f78fe05732931f02841e5ca37b
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/font-util
21   SECTION:=xorg-font
22   CATEGORY:=Xorg
23   SUBMENU:=app
24   TITLE:=misc tool to generate x fonts
25   DEPENDS:=+xserver
26 endef
27
28 define Build/Configure
29         cd  $(PKG_BUILD_DIR)/; ./configure  
30 endef
31
32 define Build/Compile
33         $(MAKE) -C $(PKG_BUILD_DIR)
34         $(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR="$(PKG_INSTALL_DIR)"
35 endef
36
37 define Build/InstallDev
38         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(1)/usr/lib/X11 $(2)/bin
39         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/local/lib/pkgconfig/fontutil.pc $(1)/usr/lib/pkgconfig
40         $(CP) $(PKG_INSTALL_DIR)/usr/local/lib/X11/* $(1)/usr/lib/X11/
41         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/* $(2)/bin/
42 endef
43
44 $(eval $(call BuildPackage,font-util))