summaryrefslogtreecommitdiff
path: root/package/pkg-config/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-10 16:17:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-10 16:17:19 +0200
commit548106f19fe32c30db2a1c502095467c2d476fd9 (patch)
treebc68167e506580bf34270f6a3cba742f9aa96eb9 /package/pkg-config/Makefile
parentb867ee3e06128d820ff7ffdeeee07a6bf749e584 (diff)
add pkg-config package
Diffstat (limited to 'package/pkg-config/Makefile')
-rw-r--r--package/pkg-config/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/pkg-config/Makefile b/package/pkg-config/Makefile
new file mode 100644
index 000000000..a421bf482
--- /dev/null
+++ b/package/pkg-config/Makefile
@@ -0,0 +1,29 @@
+# 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.25
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a3270bab3f4b69b7dc6dbdacbcae9745
+PKG_DESCR:= a helper tool used when compiling applications and libraries.
+PKG_SECTION:= libs
+PKG_BUILDDEP+= glib popt
+PKG_DEPENDS:= glib libpopt
+PKG_URL:= http://pkg-config.freedesktop.org/wiki/
+PKG_SITES:= http://pkgconfig.freedesktop.org/releases/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PKG_CONFIG,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --with-installed-glib \
+ --with-installed-popt
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_PKG_CONFIG)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/pkg-config \
+ $(IDIR_PKG_CONFIG)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk