Revision: 9550 http://pure-data.svn.sourceforge.net/pure-data/?rev=9550&view=rev Author: grholzi Date: 2008-03-09 04:15:08 -0700 (Sun, 09 Mar 2008)
Log Message: ----------- automatic dependency check for debian/ubuntu/etc packages
Modified Paths: -------------- trunk/packages/linux_make/Makefile
Modified: trunk/packages/linux_make/Makefile =================================================================== --- trunk/packages/linux_make/Makefile 2008-03-08 20:40:17 UTC (rev 9549) +++ trunk/packages/linux_make/Makefile 2008-03-09 11:15:08 UTC (rev 9550) @@ -107,6 +107,10 @@ $(packages_src)/linux_make/debian/control sed -i 's|^Architecture:.*|Architecture: $(DEB_BUILD_ARCH)|' \ $(packages_src)/linux_make/debian/control +# auto-generate the dependencies + deb_depends := $(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: $(deb_depends)|' \ + $(packages_src)/linux_make/debian/control ifeq ($(DEB_BUILD_ARCH),powerpc) sed -i 's|, libavifile-0.7c2||' $(packages_src)/linux_make/debian/control endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.