forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
25 lines (19 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PKG_NAME = dejavu
PKG_VERS = 2.37
PKG_FULLNAME = $(PKG_NAME)-fonts-ttf-$(PKG_VERS)
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_FULLNAME).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_$(subst .,_,$(PKG_VERS))
DEPENDS =
# arch independent
override ARCH=
HOMEPAGE = https://dejavu-fonts.github.io/
COMMENT = The DejaVu fonts are a font family based on the Vera Fonts. Its purpose is to provide a wider range of characters while maintaining the original look and feel through the process of collaborative development, under a Free license.
LICENSE = https://dejavu-fonts.github.io/License.html
INSTALL_TARGET = dejavu_install
include ../../mk/spksrc.install-resources.mk
.PHONY: dejavu_install
dejavu_install:
@$(RUN) install -m 755 -d $(STAGING_INSTALL_PREFIX)/share/$(PKG_NAME)/fonts -d $(STAGING_INSTALL_PREFIX)/share/$(PKG_NAME)/fontconfig
@$(RUN) cp $(PKG_FULLNAME)/ttf/* $(STAGING_INSTALL_PREFIX)/share/$(PKG_NAME)/fonts
@$(RUN) cp $(PKG_FULLNAME)/fontconfig/* $(STAGING_INSTALL_PREFIX)/share/$(PKG_NAME)/fontconfig