summaryrefslogtreecommitdiff
path: root/package/libfontenc/Makefile
blob: bc40cd015e371934326e2e694edb07046eb1bb42 (plain)
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
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		libfontenc
PKG_VERSION:=		1.0.5
PKG_RELEASE:=		1
PKG_MD5SUM:=		0fa1988d08021225d18ced519a30d2b1
PKG_DESCR:=		helps to deal with different encodings of fonts
PKG_SECTION:=		x11/libs
PKG_DEPENDS:=		zlib
PKG_BUILDDEP:=		xproto zlib
PKG_SITES:=		${MASTER_SITE_XORG}

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBFONTENC,libfontenc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBFONTENC_DEV,libfontenc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

libfontenc-install:
	${INSTALL_DIR} ${IDIR_LIBFONTENC}/usr/lib
	${CP} ${WRKINST}/usr/lib/libfontenc.so* ${IDIR_LIBFONTENC}/usr/lib

libfontenc-dev-install:
	${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/include
	${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFONTENC_DEV}/usr/include
	${INSTALL_DIR} ${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig
	${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fontenc.pc \
		${IDIR_LIBFONTENC_DEV}/usr/lib/pkgconfig

include ${TOPDIR}/mk/pkg-bottom.mk