summaryrefslogtreecommitdiff
path: root/package/libIDL/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-15 13:09:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-15 13:13:14 +0200
commitbf8903fa567e5c1b5d923c6f1c0aeb1d2fd1192a (patch)
tree64691c16412c4788e2f242abeb418187231d0ec8 /package/libIDL/Makefile
parentbf3ec139fd4c0996463d221478eb8ce82694e6de (diff)
cleanup HOST_STYLE, use SYSROOT feature for pkgconf
there are three HOST_STYLE's, not set mean fully automatic installation. auto means prefix is set to /usr and DESTDIR is set to STAGING_HOST_DIR. When using manual, you need to provide your own targets. Instead of using sed to modify *.pc files, use PKG_SYSROOT feature, which does work better and avoids pathcing some pc files. Idea from sh4rm via #musl.
Diffstat (limited to 'package/libIDL/Makefile')
-rw-r--r--package/libIDL/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index cfdd250ea..df5b30489 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -10,7 +10,8 @@ PKG_MD5SUM:= 531fbc1b40b80dd1d6f3b5e76b99067c
PKG_DESCR:= libraries for interface definition language files
PKG_SECTION:= libs/misc
PKG_DEPENDS:= glib
-PKG_BUILDDEP:= glib-host glib m4-host flex-host bison-host libIDL-host
+PKG_BUILDDEP:= glib
+HOST_BUILDDEP:= glib-host
PKG_URL:= http://www.gnome.org/
PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
PKG_LIBNAME:= libidl
@@ -21,12 +22,11 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
-CONFIGURE_ENV+= libIDL_cv_long_long_format=ll
-
$(eval $(call HOST_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-HOST_STYLE:= auto
+CONFIGURE_ENV+= libIDL_cv_long_long_format=ll
+#HOST_STYLE:= auto
libidl-install:
$(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib