From: Michael Tremer Date: Thu, 2 Sep 2010 21:59:27 +0000 (+0200) Subject: Add implicit dependencies for development packages. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9e159fcd1d55f112eb88154ea6b1d37ec7ae3e5;p=ipfire-3.x.git Add implicit dependencies for development packages. If you are building a package which has headers that depend on other headers, they will be included here. References #53. --- diff --git a/pkgs/Templates b/pkgs/Templates new file mode 100644 index 000000000..5d398d836 --- /dev/null +++ b/pkgs/Templates @@ -0,0 +1,37 @@ + +############################################################################### +# +# Template definitions of the naoki build system +# +############################################################################### + + +############################################################################### +# Devel template +############################################################################### + +PKG_DESCRIPTION-$(PKG_NAME_REAL)-devel = Development files of $(THISAPP). +PKG_SUMMARY-$(PKG_NAME_REAL)-devel = $(PKG_DESCRIPTION-$(PKG_NAME_REAL)-devel) + +PKG_DEPS-$(PKG_NAME_REAL)-devel = $(foreach dep,$(PKG_BUILD_DEPS),$(if $(findstring -devel,$(dep)),$(dep))) + +define PKG_FILES-$(PKG_NAME_REAL)-devel + /usr/bin/*-config + /usr/include + /usr/lib/pkgconfig + /usr/share/aclocal + */lib/*.so +endef + + +############################################################################### +# Library template +############################################################################### + +PKG_DESCRIPTION-$(PKG_NAME_REAL)-libs = Library files of $(THISAPP). +PKG_SUMMARY-$(PKG_NAME_REAL)-libs = $(PKG_DESCRIPTION-$(PKG_NAME_REAL)-libs) + +define PKG_FILES-$(PKG_NAME_REAL)-libs + /lib/lib*.so.* + /usr/lib/lib*.so.* +endef