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