summaryrefslogtreecommitdiff
path: root/package/libXmu/Makefile
blob: d00b6eea82757570654b04fe036e5bb09864160f (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
33
34
35
36
# 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:=		libXmu
PKG_VERSION:=		1.1.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		15e1cb9aaf97eae169bfe6944e0a541e
PKG_DESCR:=		miscellaneous utility functions for X libraries
PKG_SECTION:=		x11/libs
PKG_BUILDDEP:=		libXt
PKG_SITES:=		${MASTER_SITE_XORG}

PKG_SUBPKGS:=		LIBXMU LIBXMU_DEV
PKGSD_LIBXMU_DEV:=	X miscellaneous utility function headers
PKGSC_LIBXMU_DEV:=	x11/devel

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBXMU,libxmu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBXMU_DEV,libxmu-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

libxmu-install:
	${INSTALL_DIR} ${IDIR_LIBXMU}/usr/lib
	${CP} ${WRKINST}/usr/lib/libXmu.so* ${IDIR_LIBXMU}/usr/lib
	${CP} ${WRKINST}/usr/lib/libXmuu.so* ${IDIR_LIBXMU}/usr/lib

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

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