add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / Xorg / font / liberation-fonts-ttf / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=liberation-fonts
10 PKG_RELEASE:=1
11 PKG_VERSION:=1.04
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
15 PKG_SOURCE_URL:=http://fedorahosted.org/releases/l/i/liberation-fonts/
16 PKG_MD5SUM:=4846797ef0fc70b0cbaede2514677c58
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/liberation-fonts-ttf
21   SECTION:=xorg-font
22   CATEGORY:=Xorg
23   SUBMENU:=font
24   TITLE:=liberation-fonts-ttf
25   URL:=https://fedorahosted.org/liberation-fonts/
26 endef
27
28 define Build/Compile
29         true
30 endef
31
32 define Build/Configure
33         true
34 endef
35
36 define Package/liberation-fonts-ttf/install
37         $(INSTALL_DIR) $(1)/usr/share/fonts/truetype/liberation
38         $(INSTALL_DATA) \
39         $(PKG_BUILD_DIR)/*.ttf \
40         $(1)/usr/share/fonts/truetype/liberation/
41 endef
42
43 $(eval $(call BuildPackage,liberation-fonts-ttf))
44