blob: 78d81765e2818c772aa04a40246a82cc55ba3c05 (
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
|
# 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:= pkg-config
PKG_VERSION:= 0.28
PKG_RELEASE:= 1
PKG_MD5SUM:= aa3c86e67551adc3ac865160e34a2a0d
PKG_DESCR:= a helper tool used when compiling applications and libraries.
PKG_SECTION:= lang
PKG_DEPENDS:= glib libpopt
PKG_BUILDDEP:= glib popt pkg-config-host
PKG_URL:= http://pkg-config.freedesktop.org/wiki/
PKG_SITES:= http://pkgconfig.freedesktop.org/releases/
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,PKG_CONFIG,pkg-config,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,PKG_CONFIG,pkg-config,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS+= --with-internal-glib
CONFIGURE_ARGS+= --with-installed-glib \
--with-installed-popt
pkg-config-install:
$(INSTALL_DIR) $(IDIR_PKG_CONFIG)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/pkg-config \
$(IDIR_PKG_CONFIG)/usr/bin
include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk
|