Revision: 9582 http://pure-data.svn.sourceforge.net/pure-data/?rev=9582&view=rev Author: grholzi Date: 2008-03-14 05:37:12 -0700 (Fri, 14 Mar 2008)
Log Message: ----------- fixed bug and added also dependencies from pd itself
Modified Paths: -------------- trunk/packages/linux_make/Makefile
Modified: trunk/packages/linux_make/Makefile =================================================================== --- trunk/packages/linux_make/Makefile 2008-03-13 18:48:43 UTC (rev 9581) +++ trunk/packages/linux_make/Makefile 2008-03-14 12:37:12 UTC (rev 9582) @@ -13,7 +13,10 @@ # directory as $(prefix) otherwise Pd won't be able to find extra, doc, etc. prefix = /usr/local
+# generates the dependencies for all externals and pd itself +PACKAGE_DEPENDS := $(shell find $(DESTDIR) ( -name "*.pd_linux" -o -name pd ) -print0 | xargs -0 ldd | sed -n 's|.*(lib.*) =.*|\1|p' |sort -u| xargs dpkg -S | cut -d ':' -f 1 | sort -u | tr '\n' ' ')
+ include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
TARGET_PLATFORM := $(shell uname -m) @@ -107,9 +110,8 @@ $(packages_src)/linux_make/debian/control sed -i 's|^Architecture:.*|Architecture: $(DEB_BUILD_ARCH)|' \ $(packages_src)/linux_make/debian/control -# auto-generate the dependencies - pak_depend := $(shell find $(DESTDIR) -name *.pd_linux -print0 | xargs -0 ldd | sed -n 's|.*(lib.*) =.*|\1|p' |sort -u| xargs dpkg -S | cut -d ':' -f 1 | sort -u | tr '\n' ' ') - sed -i 's|^Depends:.*|Depends: $(pak_depend)|' \ +# add auto-generated dependencies + sed -i 's|^Depends:.*|Depends: $(PACKAGE_DEPENDS)|' \ $(packages_src)/linux_make/debian/control ifeq ($(DEB_BUILD_ARCH),powerpc) sed -i 's|, libavifile-0.7c2||' $(packages_src)/linux_make/debian/control
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.